wok view p7zip-full/receipt @ rev 2765

Add printer drivers: hplip, gutneprint, foomatic, pnm2ppa
author Rohit Joshi <jozee@slitaz.org>
date Sun Apr 26 16:04:40 2009 +0000 (2009-04-26)
parents f1362553414e
children f74dc451a4f8
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="4.58"
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 mv "$SOURCE"_"$VERSION" $src
17 cd $src
18 make all3
19 make DEST_HOME=$PWD/_pkg/usr install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
29 # Fix pathname in 7z scripts
30 sed -i -e "s#$_pkg##" $fs/usr/bin/7z
31 sed -i -e "s#$_pkg##" $fs/usr/bin/7za
32 sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
33 }