wok-next view p7zip-full/receipt @ rev 8849
Up: libisofs to 1.0.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 24 22:28:49 2011 +0000 (2011-02-24) |
parents | f74dc451a4f8 |
children | 129bb5b11a7e |
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="9.13"
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"
12 SRC_WANTED="$SOURCE"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv "$SOURCE"_"$VERSION" $src
18 cd $src
19 make all3
20 make DEST_HOME=$PWD/_pkg/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
30 # Fix pathname in 7z scripts
31 sed -i -e "s#$_pkg##" $fs/usr/bin/7z
32 sed -i -e "s#$_pkg##" $fs/usr/bin/7za
33 sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
34 }