wok annotate lzip/receipt @ rev 24874

updated lzip and lziprecover (1.21 -> 1.23)
author Hans-G?nter Theisgen
date Thu Mar 31 08:05:33 2022 +0100 (2022-03-31)
parents 15650f5d595b
children fbe88431f963
rev   line source
mimas@2031 1 # SliTaz package receipt.
mimas@2031 2
mimas@2031 3 PACKAGE="lzip"
Hans-G?nter@24874 4 VERSION="1.23"
mimas@2031 5 CATEGORY="utilities"
Hans-G?nter@24874 6 SHORT_DESC="LZMA compressor."
mimas@2031 7 MAINTAINER="mimas@slitaz.org"
pascal@17404 8 LICENSE="GPL2"
Hans-G?nter@24874 9 WEB_SITE="https://www.nongnu.org/lzip/lzip.html"
Hans-G?nter@24874 10
mimas@2031 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24874 12 WGET_URL="https://download.savannah.gnu.org/releases/lzip/$TARBALL"
mimas@2031 13
pascal@14133 14 DEPENDS="gcc-lib-base"
pascal@14133 15
Hans-G?nter@24874 16 HOST_ARCH="i486 arm"
Hans-G?nter@24874 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24102 21 sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
pascal@24102 22 }
pascal@24102 23
mimas@2031 24 # Rules to configure and make the package.
mimas@2031 25 compile_rules()
mimas@2031 26 {
pascal@20402 27 mkdir -p $DESTDIR/usr/share/doc
pascal@20402 28 cp README $DESTDIR/usr/share/doc
Hans-G?nter@24874 29
Hans-G?nter@24874 30 ./configure \
Hans-G?nter@24874 31 --prefix=/usr \
Hans-G?nter@24874 32 $CONFIGURE_ARGS &&
pascal@5003 33 make &&
Hans-G?nter@24874 34 make install DESTDIR=$DESTDIR
mimas@2031 35 }
mimas@2031 36
mimas@2031 37 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2031 38 genpkg_rules()
mimas@2031 39 {
Hans-G?nter@24874 40 cook_copy_folders bin
mimas@2031 41 }