wok annotate f3/receipt @ rev 24306
modified recipe for ctypes.sh
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 17 16:11:08 2022 +0100 (2022-01-17) |
parents | 5ea0ce1cecc0 |
children | 4720f46b580c |
rev | line source |
---|---|
paul@16074 | 1 # SliTaz package receipt. |
paul@16074 | 2 |
paul@16074 | 3 PACKAGE="f3" |
Hans-G?nter@22710 | 4 VERSION="7.2" |
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@23193 | 9 WEB_SITE="https://github.com/AltraMayor/f3" |
Hans-G?nter@22710 | 10 |
Hans-G?nter@22710 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22710 | 12 WGET_URL="https://github.com/AltraMayor/f3/archive/v$VERSION.tar.gz" |
paul@16074 | 13 |
paul@16074 | 14 DEPENDS="" |
Hans-G?nter@22710 | 15 BUILD_DEPENDS="" |
paul@16074 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@16074 | 23 # Rules to configure and make the package. |
paul@16074 | 24 compile_rules() |
paul@16074 | 25 { |
Hans-G?nter@22710 | 26 make PREFIX=/usr && |
Hans-G?nter@22710 | 27 make install PREFIX=/usr |
paul@16074 | 28 } |
paul@16074 | 29 |
paul@16074 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16074 | 31 genpkg_rules() |
paul@16074 | 32 { |
Hans-G?nter@22710 | 33 mkdir -p $fs/usr |
Hans-G?nter@22710 | 34 cp -a $install/usr/bin $fs/usr |
paul@16074 | 35 } |