wok-current view afio/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 00e3b45c063b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="afio"
4 VERSION="2.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Archiver program for Linux/UNIX."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://github.com/kholtman/afio"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="https://github.com/kholtman/afio/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
28 cook_pick_manpages $src/afio.1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/afio $fs/usr/bin
36 }