wok view gfortran/receipt @ rev 24462
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 16 21:07:01 2022 +0000 (2022-02-16) |
parents | 380ffe05937a |
children |
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 }