wok view p7zip/receipt @ rev 25461

foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 09:44:06 2022 +0000 (19 months ago)
parents 7dd01dedad38
children
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 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make 7zr
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $src/bin $fs/usr
31 }