wok-next view gfortran/receipt @ rev 15138

silc-server: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 11:23:43 2013 +0000 (2013-08-15)
parents 66adb9443756
children f4c22f009037
line source
1 # SliTaz package receipt.
3 PACKAGE="gfortran"
4 VERSION="4.6.3"
5 CATEGORY="development"
6 SHORT_DESC="GCC fortran extension."
7 WEB_SITE="http://gcc.gnu.org/"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENCE="GPL2"
10 DEPENDS="gcc libgfortran"
11 WANTED="gcc"
12 TAGS="compiler fortran"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION $fs/usr/bin
18 cp -a $install/usr/bin/*gfortran $fs/usr/bin
19 cp -a $install/usr/lib/libgfortran*a $fs/usr/lib
20 cp -a $install/usr/lib/libgfortran.spec $fs/usr/lib
21 cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \
22 $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
23 cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
24 $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
25 }