wok-6.x view gfortran/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents 002ffd67d6ed
children 2345afe1479a
line source
1 # SliTaz package receipt.
3 PACKAGE="gfortran"
4 VERSION="4.5.2"
5 CATEGORY="development"
6 SHORT_DESC="GCC fortran extension."
7 WEB_SITE="http://gcc.gnu.org/"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 DEPENDS="gcc libgfortran"
10 WANTED="gcc"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION $fs/usr/bin
16 cp -a $_pkg/usr/bin/*gfortran $fs/usr/bin
17 cp -a $_pkg/usr/lib/libgfortran*a $fs/usr/lib
18 cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \
19 $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
20 cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
21 $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
22 }