wok-current annotate f3/receipt @ rev 25490
Up foomatic-db-nonfree (20221115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 17 11:49:10 2022 +0000 (22 months ago) |
parents | 4720f46b580c |
children | 9fdfc7625dd7 |
rev | line source |
---|---|
paul@16074 | 1 # SliTaz package receipt. |
paul@16074 | 2 |
paul@16074 | 3 PACKAGE="f3" |
Hans-G?nter@24533 | 4 VERSION="8.0" |
paul@16074 | 5 CATEGORY="utilities" |
paul@16074 | 6 SHORT_DESC="An alternative to h2testw." |
paul@16074 | 7 MAINTAINER="paul@slitaz.org" |
paul@16074 | 8 LICENSE="GPL3" |
pascal@25490 | 9 WEB_SITE="https://github.com/AltraMayor/$PACKAGE" |
Hans-G?nter@22710 | 10 |
Hans-G?nter@22710 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25490 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
paul@16074 | 13 |
paul@16074 | 14 DEPENDS="" |
Hans-G?nter@22710 | 15 BUILD_DEPENDS="" |
paul@16074 | 16 |
pascal@25490 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
paul@16074 | 24 # Rules to configure and make the package. |
paul@16074 | 25 compile_rules() |
paul@16074 | 26 { |
Hans-G?nter@24533 | 27 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@24533 | 28 |
Hans-G?nter@22710 | 29 make PREFIX=/usr && |
Hans-G?nter@22710 | 30 make install PREFIX=/usr |
paul@16074 | 31 } |
paul@16074 | 32 |
paul@16074 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16074 | 34 genpkg_rules() |
paul@16074 | 35 { |
Hans-G?nter@24533 | 36 cook_copy_folders bin |
paul@16074 | 37 } |