wok view f3/receipt @ rev 25102
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 16:00:20 2022 +0000 (2022-06-21) |
parents | ac8ca9758df1 |
children | 742d338c8574 |
line source
1 # SliTaz package receipt.
3 PACKAGE="f3"
4 VERSION="8.0"
5 CATEGORY="utilities"
6 SHORT_DESC="An alternative to h2testw."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://oss.digirati.com.br/f3/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/AltraMayor/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -lrt"
28 make PREFIX=/usr &&
29 make install PREFIX=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 }