wok annotate p7zip-full/receipt @ rev 24442

created recipe for firefox-official-da
author Hans-G?nter Theisgen
date Mon Feb 14 07:26:07 2022 +0100 (2022-02-14)
parents 0be966ba5e90
children 7dd01dedad38
rev   line source
milka@1164 1 # SliTaz package receipt.
milka@1164 2
milka@1164 3 PACKAGE="p7zip-full"
milka@1164 4 SOURCE="p7zip"
pascal@19357 5 VERSION="16.02"
milka@1164 6 CATEGORY="utilities"
milka@1164 7 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
milka@1164 8 MAINTAINER="milka@konstelacioj.info"
pascal@19357 9 LICENSE="LGPL2.1"
milka@1168 10 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
milka@1164 11 WEB_SITE="http://p7zip.sourceforge.net/"
milka@1168 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
milka@1164 13
pascal@24100 14 current_version()
pascal@24100 15 {
pascal@24100 16 wget -O - https://sourceforge.net/projects/$SOURCE/files/$SOURCE/ 2>/dev/null | \
pascal@24100 17 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
pascal@24100 18 }
pascal@24100 19
milka@1164 20 # Rules to configure and make the package.
milka@1164 21 compile_rules()
milka@1164 22 {
pascal@19293 23 sed -i 's|HOME)/man|HOME)/share/man|' makefile
milka@1164 24 make all3
gokhlayeh@9447 25 make DEST_HOME=$DESTDIR/usr install
milka@1164 26 }
milka@1164 27
milka@1164 28 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1164 29 genpkg_rules()
milka@1164 30 {
milka@1164 31 mkdir -p $fs/usr
pascal@15375 32 cp -a $install/usr/bin $fs/usr
pascal@15375 33 cp -a $install/usr/lib $fs/usr
erjo@1192 34
erjo@1192 35 # Fix pathname in 7z scripts
pascal@15375 36 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
gokhlayeh@9447 37 $fs/usr/bin/7za $fs/usr/bin/7zr
milka@1164 38 }