wok view 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
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.*||' | sed '$!d'
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 }