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