wok view p7zip/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents f8a963794d31
children cec9f8f5726d
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip"
4 VERSION="16.02"
5 CATEGORY="utilities"
6 SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)"
7 MAINTAINER="milka@konstelacioj.info"
8 LICENSE="LGPL2.1"
9 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2"
10 WEB_SITE="https://p7zip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 current_version()
14 {
15 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \
16 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make 7zr
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $src/bin $fs/usr
30 }