wok annotate p7zip/receipt @ rev 25509
sgmixer: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 13:14:45 2023 +0000 (21 months ago) |
parents | 7dd01dedad38 |
children |
rev | line source |
---|---|
milka@1164 | 1 # SliTaz package receipt. |
milka@1164 | 2 |
milka@1164 | 3 PACKAGE="p7zip" |
pascal@19357 | 4 VERSION="16.02" |
milka@1164 | 5 CATEGORY="utilities" |
milka@1164 | 6 SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)" |
milka@1164 | 7 MAINTAINER="milka@konstelacioj.info" |
pascal@19357 | 8 LICENSE="LGPL2.1" |
milka@1168 | 9 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2" |
pascal@25460 | 10 WEB_SITE="https://p7zip.sourceforge.net/" |
milka@1164 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1164 | 12 |
pascal@25461 | 13 # What is the latest version available today? |
pascal@24100 | 14 current_version() |
pascal@24100 | 15 { |
pascal@24100 | 16 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \ |
pascal@24100 | 17 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q' |
pascal@24100 | 18 } |
pascal@24100 | 19 |
milka@1164 | 20 # Rules to configure and make the package. |
milka@1164 | 21 compile_rules() |
milka@1164 | 22 { |
milka@1164 | 23 make 7zr |
milka@1164 | 24 } |
milka@1164 | 25 |
milka@1164 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 27 genpkg_rules() |
milka@1164 | 28 { |
milka@1164 | 29 mkdir -p $fs/usr |
milka@1168 | 30 cp -a $src/bin $fs/usr |
milka@1164 | 31 } |