wok annotate lzip/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 1c75fb23b954 |
children | c470ca10c896 |
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@25375 | 18 # What is the latest version available today? |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@25375 | 22 sed '/>lzip-/!d;/tar/d;s|.*lzip-||;s|.tar.*||' | sed '$!d' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
mimas@2031 | 25 # Rules to configure and make the package. |
mimas@2031 | 26 compile_rules() |
mimas@2031 | 27 { |
pascal@20402 | 28 mkdir -p $DESTDIR/usr/share/doc |
pascal@20402 | 29 cp README $DESTDIR/usr/share/doc |
Hans-G?nter@24874 | 30 |
Hans-G?nter@24874 | 31 ./configure \ |
Hans-G?nter@24874 | 32 --prefix=/usr \ |
Hans-G?nter@24874 | 33 $CONFIGURE_ARGS && |
pascal@5003 | 34 make && |
Hans-G?nter@24874 | 35 make install DESTDIR=$DESTDIR |
mimas@2031 | 36 } |
mimas@2031 | 37 |
mimas@2031 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2031 | 39 genpkg_rules() |
mimas@2031 | 40 { |
Hans-G?nter@24874 | 41 cook_copy_folders bin |
mimas@2031 | 42 } |