wok-4.x view p7zip-full/receipt @ rev 9392
Add rt-source-patch. This is so rt-source patch is downloaded to src folder and can be added to modular slitaz source dvd.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 13:07:23 2011 +0000 (2011-03-26) |
parents | 129bb5b11a7e |
children | f018daea012c |
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="9.20"
6 CATEGORY="utilities"
7 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
8 MAINTAINER="milka@konstelacioj.info"
9 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
10 WEB_SITE="http://p7zip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make all3
18 make DEST_HOME=$PWD/_pkg/usr install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
28 # Fix pathname in 7z scripts
29 sed -i -e "s#$_pkg##" $fs/usr/bin/7z
30 sed -i -e "s#$_pkg##" $fs/usr/bin/7za
31 sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
32 }