wok annotate p7zip-full/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (16 months ago)
parents 7dd01dedad38
children
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"
pascal@25460 11 WEB_SITE="https://p7zip.sourceforge.net/"
milka@1168 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
milka@1164 13
pascal@25461 14 # What is the latest version available today?
pascal@24100 15 current_version()
pascal@24100 16 {
pascal@24100 17 wget -O - https://sourceforge.net/projects/$SOURCE/files/$SOURCE/ 2>/dev/null | \
pascal@24100 18 sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
pascal@24100 19 }
pascal@24100 20
milka@1164 21 # Rules to configure and make the package.
milka@1164 22 compile_rules()
milka@1164 23 {
pascal@19293 24 sed -i 's|HOME)/man|HOME)/share/man|' makefile
milka@1164 25 make all3
gokhlayeh@9447 26 make DEST_HOME=$DESTDIR/usr install
milka@1164 27 }
milka@1164 28
milka@1164 29 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1164 30 genpkg_rules()
milka@1164 31 {
milka@1164 32 mkdir -p $fs/usr
pascal@15375 33 cp -a $install/usr/bin $fs/usr
pascal@15375 34 cp -a $install/usr/lib $fs/usr
erjo@1192 35
erjo@1192 36 # Fix pathname in 7z scripts
pascal@15375 37 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
gokhlayeh@9447 38 $fs/usr/bin/7za $fs/usr/bin/7zr
milka@1164 39 }