wok-current annotate p7zip-full/receipt @ rev 15375
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 19:43:55 2013 +0000 (2013-10-18) |
parents | 5b198b5bc329 |
children | 42380dbaadb7 |
rev | line source |
---|---|
milka@1164 | 1 # SliTaz package receipt. |
milka@1164 | 2 |
milka@1164 | 3 PACKAGE="p7zip-full" |
milka@1164 | 4 SOURCE="p7zip" |
slaxemulator@9832 | 5 VERSION="9.20.1" |
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" |
pascal@15375 | 9 LICENSE="LGPL" |
milka@1168 | 10 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2" |
milka@1164 | 11 WEB_SITE="http://p7zip.sourceforge.net/" |
milka@1168 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$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 cd $src |
milka@1164 | 18 make all3 |
gokhlayeh@9447 | 19 make DEST_HOME=$DESTDIR/usr install |
milka@1164 | 20 } |
milka@1164 | 21 |
milka@1164 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1164 | 23 genpkg_rules() |
milka@1164 | 24 { |
milka@1164 | 25 mkdir -p $fs/usr |
pascal@15375 | 26 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 27 cp -a $install/usr/lib $fs/usr |
erjo@1192 | 28 |
erjo@1192 | 29 # Fix pathname in 7z scripts |
pascal@15375 | 30 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \ |
gokhlayeh@9447 | 31 $fs/usr/bin/7za $fs/usr/bin/7zr |
milka@1164 | 32 } |
milka@1164 | 33 |