wok-current view lzip/receipt @ rev 8974

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
parents 8752c40cc534
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="lzip"
4 VERSION="1.11"
5 CATEGORY="utilities"
6 SHORT_DESC="LZMA compressor"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="gcc-lib-base"
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 # cp $src/lzdiff $fs/usr/bin
28 # cp $src/lzgrep $fs/usr/bin
30 strip $fs/usr/bin/lzip
31 }