wok annotate lziprecover/receipt @ rev 25164

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