wok view f3/receipt @ rev 25710
typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 25 12:42:06 2024 +0000 (4 months ago) |
parents | 742d338c8574 |
children |
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="https://github.com/AltraMayor/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="eudev-lib parted"
15 BUILD_DEPENDS="eudev-dev parted-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -lrt"
29 make PREFIX=/usr &&
30 make install PREFIX=/usr &&
31 make extra PREFIX=/usr &&
32 make install-extra PREFIX=/usr
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }