wok view p7zip-full/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 7dd01dedad38
children
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="https://p7zip.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/$SOURCE/files/$SOURCE/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|HOME)/man|HOME)/share/man|' makefile
25 make all3
26 make DEST_HOME=$DESTDIR/usr install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
36 # Fix pathname in 7z scripts
37 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
38 $fs/usr/bin/7za $fs/usr/bin/7zr
39 }