wok-stable view gfortran/receipt @ rev 10699
winetricks: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:26:23 2011 +0200 (2011-05-28) |
parents | 002ffd67d6ed |
children |
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 }