wok-6.x annotate p7zip/receipt @ rev 5133
Up: slitaz-configs (3.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 23 11:09:22 2010 +0100 (2010-03-23) |
parents | 9c8c544854ff |
children | f74dc451a4f8 |
rev | line source |
---|---|
milka@1164 | 1 # SliTaz package receipt. |
milka@1164 | 2 |
milka@1164 | 3 PACKAGE="p7zip" |
milka@1164 | 4 VERSION="4.58" |
milka@1164 | 5 CATEGORY="utilities" |
milka@1164 | 6 SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)" |
milka@1164 | 7 MAINTAINER="milka@konstelacioj.info" |
milka@1164 | 8 #DEPENDS="" |
milka@1168 | 9 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2" |
milka@1164 | 10 WEB_SITE="http://p7zip.sourceforge.net/" |
milka@1164 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1164 | 12 |
milka@1164 | 13 # Rules to configure and make the package. |
milka@1164 | 14 compile_rules() |
milka@1164 | 15 { |
milka@1164 | 16 mv "$PACKAGE"_"$VERSION" $src |
milka@1164 | 17 cd $src |
milka@1164 | 18 make 7zr |
milka@1164 | 19 } |
milka@1164 | 20 |
milka@1164 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 22 genpkg_rules() |
milka@1164 | 23 { |
milka@1164 | 24 mkdir -p $fs/usr |
milka@1168 | 25 cp -a $src/bin $fs/usr |
milka@1164 | 26 strip -s $fs/usr/bin/* |
milka@1164 | 27 } |
milka@1164 | 28 |