wok-current view p7zip/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 0be966ba5e90
children 7dd01dedad38
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="http://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 }