wok-6.x annotate p7zip/receipt @ rev 12531
kmod: install in /sbin /bin /lib, do symlinks and use xz/lzma compression
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 11:15:08 2012 +0200 (2012-04-25) |
parents | 68b70f8bd2a4 |
children | 51a1ebbda768 |
rev | line source |
---|---|
milka@1164 | 1 # SliTaz package receipt. |
milka@1164 | 2 |
milka@1164 | 3 PACKAGE="p7zip" |
slaxemulator@9832 | 4 VERSION="9.20.1" |
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@1168 | 8 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2" |
milka@1164 | 9 WEB_SITE="http://p7zip.sourceforge.net/" |
milka@1164 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1164 | 11 |
milka@1164 | 12 # Rules to configure and make the package. |
milka@1164 | 13 compile_rules() |
milka@1164 | 14 { |
milka@1164 | 15 cd $src |
milka@1164 | 16 make 7zr |
milka@1164 | 17 } |
milka@1164 | 18 |
milka@1164 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 20 genpkg_rules() |
milka@1164 | 21 { |
milka@1164 | 22 mkdir -p $fs/usr |
milka@1168 | 23 cp -a $src/bin $fs/usr |
milka@1164 | 24 } |
milka@1164 | 25 |