wok-current view f2c/receipt @ rev 24805

Up apache (2.4.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 22 10:13:41 2022 +0000 (2022-03-22)
parents 16df716d02af
children 3e62030539e2
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.1t $install/usr/man/f2c.1
34 }