wok-6.x annotate 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 |
rev | line source |
---|---|
milka@1164 | 1 # SliTaz package receipt. |
milka@1164 | 2 |
milka@1164 | 3 PACKAGE="p7zip-full" |
milka@1164 | 4 SOURCE="p7zip" |
milka@1164 | 5 VERSION="4.58" |
milka@1164 | 6 CATEGORY="utilities" |
milka@1164 | 7 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)" |
milka@1164 | 8 MAINTAINER="milka@konstelacioj.info" |
milka@1164 | 9 #DEPENDS="" |
milka@1164 | 10 TARBALL="$SOURCE"_"$VERSION"_"src"_"all.tar.bz2" |
milka@1164 | 11 WEB_SITE="http://p7zip.sourceforge.net/" |
milka@1164 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1164 | 13 |
milka@1164 | 14 # Rules to configure and make the package. |
milka@1164 | 15 compile_rules() |
milka@1164 | 16 { |
milka@1164 | 17 mv "$SOURCE"_"$VERSION" $src |
milka@1164 | 18 cd $src |
milka@1164 | 19 make all3 |
milka@1164 | 20 mkdir -p $PWD/_pkg/usr/ |
milka@1164 | 21 mv $PWD/bin $PWD/_pkg/usr/ |
milka@1164 | 22 } |
milka@1164 | 23 |
milka@1164 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 25 genpkg_rules() |
milka@1164 | 26 { |
milka@1164 | 27 mkdir -p $fs/usr |
milka@1164 | 28 cp -a $_pkg/usr/bin $fs/usr |
milka@1164 | 29 strip -s $fs/usr/bin/* |
milka@1164 | 30 } |
milka@1164 | 31 |
milka@1164 | 32 |