wok-6.x view p7zip/receipt @ rev 24938

mypaint-brushes: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 09:10:40 2022 +0000 (2022-04-14)
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 }