wok-next view p7zip/receipt @ rev 20657
Up openjpeg2 (2.3.0), pciutils (3.5.6), pcre (8.41), pcre2 (10.31), pinentry (1.1.0), sakura (3.6.0), vte (0.50.2); add openobex, pax.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 05 16:03:34 2018 +0300 (2018-05-05) |
parents | b278b2018965 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="p7zip"
4 VERSION="16.02"
5 CATEGORY="utilities"
6 SHORT_DESC="File archiver with high compression ratio"
7 MAINTAINER="milka@konstelacioj.info"
8 LICENSE="LGPL2.1"
9 #WEB_SITE="http://p7zip.sourceforge.net/"
10 WEB_SITE="https://sourceforge.net/projects/sevenzip/"
11 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/p7zip.html"
13 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="nasm yasm"
17 SPLIT="p7zip p7zip-full"
19 compile_rules() {
20 case $ARCH in
21 arm) cp makefile.linux_cross_arm makefile.machine;;
22 i?86) cp makefile.linux_x86_asm_gcc_4.X makefile.machine;;
23 x86_64) cp makefile.linux_amd64_asm makefile.machine;;
24 esac
25 sed -i 's|HOME)/man|HOME)/share/man|' makefile.common
27 make all3 OPTFLAGS="$CFLAGS" &&
28 make install \
29 DEST_DIR="$install" \
30 DEST_HOME=/usr \
31 DEST_SHARE_DOC=/usr/share/doc/p7zip-$VERSION \
32 DEST_MAN=/usr/share/man
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 p7zip)
38 copy 7zr
39 CAT="utilities|supports only 7z archives"
40 ;;
41 p7zip-full)
42 copy @std @rm
43 CAT="utilities|full version with restricted codecs"
44 DEPENDS="p7zip"
45 ;;
46 esac
47 }