wok-current annotate f2c/receipt @ rev 24807
Add fast-lzma2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 15:17:43 2022 +0000 (2022-03-22) |
parents | 1dc83097496b |
children | 970deba23db6 |
rev | line source |
---|---|
pascal@24796 | 1 # SliTaz package receipt. |
pascal@24796 | 2 |
pascal@24796 | 3 PACKAGE="f2c" |
pascal@24796 | 4 VERSION="20200916" |
pascal@24796 | 5 CATEGORY="development" |
pascal@24796 | 6 SHORT_DESC="A Fortran 77 to C translator." |
pascal@24796 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24807 | 8 LICENSE="MIT" |
pascal@24796 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@24796 | 10 WEB_SITE="http://www.netlib.org/f2c/" |
pascal@24796 | 11 WGET_URL="${WEB_SITE}src.tgz" |
pascal@24796 | 12 TAGS="fortran" |
pascal@24796 | 13 |
pascal@24796 | 14 # What is the latest version available today? |
pascal@24796 | 15 current_version() |
pascal@24796 | 16 { |
pascal@24796 | 17 wget -O - $WGET_URL 2>/dev/null | \ |
pascal@24796 | 18 tar xOzf - src/changes | sed '/^20[0-9]/!d' | sort -Vr | sed q |
pascal@24796 | 19 } |
pascal@24796 | 20 |
pascal@24796 | 21 # Rules to configure and make the package. |
pascal@24796 | 22 compile_rules() |
pascal@24796 | 23 { |
pascal@24796 | 24 cp makefile.u makefile |
pascal@24796 | 25 make |
pascal@24796 | 26 } |
pascal@24796 | 27 |
pascal@24796 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24796 | 29 genpkg_rules() |
pascal@24796 | 30 { |
pascal@24796 | 31 mkdir -p $install/usr/man $fs/usr/bin |
pascal@24796 | 32 cp -a $src/f2c $fs/usr/bin |
pascal@24805 | 33 cp -a $src/f2c.1t $install/usr/man/f2c.1 |
pascal@24796 | 34 } |