wok-6.x annotate p7zip/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (23 months ago) |
parents | 0be966ba5e90 |
children | 7dd01dedad38 |
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" |
milka@1164 | 10 WEB_SITE="http://p7zip.sourceforge.net/" |
milka@1164 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1164 | 12 |
pascal@24100 | 13 current_version() |
pascal@24100 | 14 { |
pascal@24100 | 15 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \ |
pascal@24100 | 16 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q' |
pascal@24100 | 17 } |
pascal@24100 | 18 |
milka@1164 | 19 # Rules to configure and make the package. |
milka@1164 | 20 compile_rules() |
milka@1164 | 21 { |
milka@1164 | 22 make 7zr |
milka@1164 | 23 } |
milka@1164 | 24 |
milka@1164 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 26 genpkg_rules() |
milka@1164 | 27 { |
milka@1164 | 28 mkdir -p $fs/usr |
milka@1168 | 29 cp -a $src/bin $fs/usr |
milka@1164 | 30 } |