wok-current annotate f3/receipt @ rev 25534
Up zstd (1.5.4), lzsa (1.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 28 13:43:15 2023 +0000 (20 months ago) |
parents | 742d338c8574 |
children |
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 |
Hans-G?nter@25503 | 14 DEPENDS="eudev-lib parted" |
Hans-G?nter@25503 | 15 BUILD_DEPENDS="eudev-dev parted-dev" |
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@25503 | 29 make PREFIX=/usr && |
Hans-G?nter@25503 | 30 make install PREFIX=/usr && |
Hans-G?nter@25503 | 31 make extra PREFIX=/usr && |
Hans-G?nter@25503 | 32 make install-extra PREFIX=/usr |
paul@16074 | 33 } |
paul@16074 | 34 |
paul@16074 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16074 | 36 genpkg_rules() |
paul@16074 | 37 { |
Hans-G?nter@24533 | 38 cook_copy_folders bin |
paul@16074 | 39 } |