wok-6.x view gfortran/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | 380ffe05937a |
children | c45e9f534acb |
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 LICENSE="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 }