wok view lzip/receipt @ rev 3573

Update: apply patch once. ssmtp: fix post_install link target path. scim: fix chroot in post_install.
pa
author Liu Peng <rocky@slitaz.org>
date Fri Jun 26 00:18:25 2009 +0800 (2009-06-26)
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 }