wok view p7zip-full/receipt @ rev 19805
libcaca: do not call cook install compile_rules (setup broken by bdeps)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 26 09:43:31 2017 +0100 (2017-02-26) |
parents | 42380dbaadb7 |
children | f8a963794d31 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip-full"
4 SOURCE="p7zip"
5 VERSION="16.02"
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="LGPL2.1"
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 sed -i 's|HOME)/man|HOME)/share/man|' makefile
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 }