wok-next diff p7zip-full/receipt @ rev 1164

Add: p7zip and p7zip-full
author Michael Dupont <milka@konstelacioj.info>
date Tue Jul 29 20:49:37 2008 +0200 (2008-07-29)
parents
children f1362553414e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/p7zip-full/receipt	Tue Jul 29 20:49:37 2008 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="p7zip-full"
     1.7 +SOURCE="p7zip"
     1.8 +VERSION="4.58"
     1.9 +CATEGORY="utilities"
    1.10 +SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
    1.11 +MAINTAINER="milka@konstelacioj.info"
    1.12 +#DEPENDS=""
    1.13 +TARBALL="$SOURCE"_"$VERSION"_"src"_"all.tar.bz2"
    1.14 +WEB_SITE="http://p7zip.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv "$SOURCE"_"$VERSION" $src
    1.21 +	cd $src
    1.22 +	make all3
    1.23 +	mkdir -p $PWD/_pkg/usr/
    1.24 +	mv $PWD/bin $PWD/_pkg/usr/
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	strip -s $fs/usr/bin/*
    1.33 +}
    1.34 +
    1.35 +