wok-next view lzip/receipt @ rev 3595

merge
author Liu Peng <rocky@slitaz.org>
date Sun Jun 28 14:26:17 2009 +0000 (2009-06-28)
parents
children 911706b38733
line source
1 # SliTaz package receipt.
3 PACKAGE="lzip"
4 VERSION="1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="LZMA compressor"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/lzip/lzip.html"
11 WGET_URL="http://nongnu.mirror.ironie.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 }