wok view gfortran/receipt @ rev 6707
Added linux-module-headers. This is used to build 3rd party kernel modules. This is based on archlinux kernel26-headers PKGBUILD.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 23:49:38 2010 +0000 (2010-10-13) |
parents | 3a2b03691069 |
children | 438f721fcdb1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gfortran"
4 VERSION="4.5.1"
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/i486-pc-linux-gnu/$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/i486-pc-linux-gnu/$VERSION/f* \
19 $fs/usr/lib/gcc/i486-pc-linux-gnu/$VERSION
20 cp -a $_pkg/usr/lib/gcc/i486-pc-linux-gnu/$VERSION/libgfortran* \
21 $fs/usr/lib/gcc/i486-pc-linux-gnu/$VERSION
22 }