wok-next view p7zip-full/receipt @ rev 19211
Up python-mako (1.0.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 14 09:54:21 2016 +0200 (2016-06-14) |
parents | 5b198b5bc329 |
children | 42380dbaadb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="9.20.1"
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 LICENSE="LGPL"
10 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
11 WEB_SITE="http://p7zip.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make all3
19 make DEST_HOME=$DESTDIR/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 $install/usr/bin $fs/usr
27 cp -a $install/usr/lib $fs/usr
29 # Fix pathname in 7z scripts
30 sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
31 $fs/usr/bin/7za $fs/usr/bin/7zr
32 }