wok-current annotate afio/receipt @ rev 25394
updated vamp-sdk and vamp-sdk-dev (2.9.0 -> 2.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 17:03:35 2022 +0100 (2022-08-01) |
parents | 00e3b45c063b |
children |
rev | line source |
---|---|
erjo@13475 | 1 # SliTaz package receipt. |
erjo@13475 | 2 |
erjo@13475 | 3 PACKAGE="afio" |
Hans-G?nter@20700 | 4 VERSION="2.5.2" |
erjo@13475 | 5 CATEGORY="system-tools" |
al@19275 | 6 SHORT_DESC="Archiver program for Linux/UNIX." |
erjo@13475 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15201 | 8 LICENSE="LGPL" |
pascal@22385 | 9 WEB_SITE="https://github.com/kholtman/afio" |
erjo@13475 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@25060 | 11 WGET_URL="https://github.com/kholtman/afio/archive/refs/tags/v$VERSION.tar.gz" |
erjo@13475 | 12 |
erjo@13475 | 13 DEPENDS="" |
erjo@13475 | 14 BUILD_DEPENDS="" |
erjo@13475 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
erjo@13475 | 23 # Rules to configure and make the package. |
erjo@13475 | 24 compile_rules() |
erjo@13475 | 25 { |
erjo@13475 | 26 make |
al@19264 | 27 |
al@19275 | 28 cook_pick_manpages $src/afio.1 |
erjo@13475 | 29 } |
erjo@13475 | 30 |
erjo@13475 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13475 | 32 genpkg_rules() |
erjo@13475 | 33 { |
erjo@13475 | 34 mkdir -p $fs/usr/bin |
erjo@13475 | 35 cp -a $src/afio $fs/usr/bin |
erjo@13475 | 36 } |