wok-6.x diff lzip/receipt @ rev 4154
Fix: coreutils-operations dont remove cp/rm in post_install, we need them to install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 21 21:04:25 2009 +0200 (2009-09-21) |
parents | |
children | 911706b38733 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lzip/receipt Mon Sep 21 21:04:25 2009 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lzip" 1.7 +VERSION="1.3" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="LZMA compressor" 1.10 +MAINTAINER="mimas@slitaz.org" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.nongnu.org/lzip/lzip.html" 1.14 +WGET_URL="http://nongnu.mirror.ironie.org/releases/lzip/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.21 + make 1.22 + make DESTDIR=$PWD/_pkg install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $_pkg/usr/bin $fs/usr 1.30 + cp $src/lzdiff $fs/usr/bin 1.31 + cp $src/lzgrep $fs/usr/bin 1.32 + 1.33 + strip $fs/usr/bin/lzip 1.34 +} 1.35 +