wok-6.x view p7zip-full/receipt @ rev 24762

avfs: copy mountavfs and umountavfs with proper permissions
author Hans-G?nter Theisgen
date Fri Mar 18 15:07:58 2022 +0100 (2022-03-18)
parents 0be966ba5e90
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="16.02"
6 CATEGORY="utilities"
7 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
8 MAINTAINER="milka@konstelacioj.info"
9 LICENSE="LGPL2.1"
10 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
11 WEB_SITE="http://p7zip.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/$SOURCE/files/$SOURCE/ 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 sed -i 's|HOME)/man|HOME)/share/man|' makefile
24 make all3
25 make DEST_HOME=$DESTDIR/usr install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
35 # Fix pathname in 7z scripts
36 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
37 $fs/usr/bin/7za $fs/usr/bin/7zr
38 }