wok view lzip/receipt @ rev 25604

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 17:30:47 2023 +0000 (16 months ago)
parents fbe88431f963
children 1e09c4c56491
line source
1 # SliTaz package receipt.
3 PACKAGE="lzip"
4 VERSION="1.23"
5 CATEGORY="utilities"
6 SHORT_DESC="LZMA compressor."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/lzip/lzip.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.savannah.gnu.org/releases/lzip/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/>lzip-/!d;/tar/!d;s|.*lzip-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/share/doc
29 cp README $DESTDIR/usr/share/doc
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }