wok-4.x annotate lzip/receipt @ rev 5423
Up bind (9.7.0-P1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 04 15:27:38 2010 +0200 (2010-05-04) |
parents | 911706b38733 |
children | 926edf28a263 |
rev | line source |
---|---|
mimas@2031 | 1 # SliTaz package receipt. |
mimas@2031 | 2 |
mimas@2031 | 3 PACKAGE="lzip" |
erjo@4281 | 4 VERSION="1.8" |
mimas@2031 | 5 CATEGORY="utilities" |
mimas@2031 | 6 SHORT_DESC="LZMA compressor" |
mimas@2031 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@5003 | 8 DEPENDS="gcc-lib-base" |
mimas@2031 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2031 | 10 WEB_SITE="http://www.nongnu.org/lzip/lzip.html" |
erjo@4281 | 11 WGET_URL="http://mirrors.linhub.com/savannah/lzip/$TARBALL" |
mimas@2031 | 12 |
mimas@2031 | 13 # Rules to configure and make the package. |
mimas@2031 | 14 compile_rules() |
mimas@2031 | 15 { |
mimas@2031 | 16 cd $src |
pascal@5003 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@5003 | 18 make && |
mimas@2031 | 19 make DESTDIR=$PWD/_pkg install |
mimas@2031 | 20 } |
mimas@2031 | 21 |
mimas@2031 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2031 | 23 genpkg_rules() |
mimas@2031 | 24 { |
mimas@2031 | 25 mkdir -p $fs/usr |
mimas@2031 | 26 cp -a $_pkg/usr/bin $fs/usr |
erjo@4281 | 27 # cp $src/lzdiff $fs/usr/bin |
erjo@4281 | 28 # cp $src/lzgrep $fs/usr/bin |
mimas@2031 | 29 |
mimas@2031 | 30 strip $fs/usr/bin/lzip |
mimas@2031 | 31 } |
mimas@2031 | 32 |