wok view lzip/receipt @ rev 24135

updated sc-im (0.7.0 -> 0.8.2)
author Hans-G?nter Theisgen
date Thu Nov 04 15:33:04 2021 +0100 (2021-11-04)
parents 4baf58c71390
children 1c75fb23b954
line source
1 # SliTaz package receipt.
3 PACKAGE="lzip"
4 VERSION="1.21"
5 CATEGORY="utilities"
6 SHORT_DESC="LZMA compressor"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/lzip/lzip.html"
11 WGET_URL="http://download.savannah.gnu.org/releases/lzip/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gcc-lib-base"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $DESTDIR/usr/share/doc
26 cp README $DESTDIR/usr/share/doc
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 # cp $src/lzdiff $fs/usr/bin
38 # cp $src/lzgrep $fs/usr/bin
39 }