wok-4.x view lzip/receipt @ rev 9098
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 22:10:40 2011 +0100 (2011-03-04) |
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 }