wok-next view p7zip-full/receipt @ rev 8039
Fix: most xfce4 apps need intltool to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 20 15:02:14 2011 +0100 (2011-01-20) |
parents | a476c9adf53b |
children | 2b5d1947028d |
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"
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 }