wok-next view p7zip/receipt @ rev 20632

gegl: fix packing
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 10:53:56 2018 +0300 (2018-04-27)
parents 6c73b944e8dd
children b863487b8e7a
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/"
12 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="nasm yasm"
16 SPLIT="p7zip p7zip-full"
18 compile_rules() {
19 case $ARCH in
20 arm) cp makefile.linux_cross_arm makefile.machine;;
21 i?86) cp makefile.linux_x86_asm_gcc_4.X makefile.machine;;
22 x86_64) cp makefile.linux_amd64_asm makefile.machine;;
23 esac
24 sed -i 's|HOME)/man|HOME)/share/man|' makefile.common
26 make all3 OPTFLAGS="$CFLAGS" &&
27 make install \
28 DEST_DIR="$install" \
29 DEST_HOME=/usr \
30 DEST_SHARE_DOC=/usr/share/doc/p7zip-$VERSION \
31 DEST_MAN=/usr/share/man || return 1
33 # # Remove documentation for the GUI file manager
34 # rm -r "$install/usr/share/doc/p7zip/DOC/MANUAL/fm"
36 # install -d $install/usr/share/licenses/p7zip
37 # ln -s -t $install/usr/share/licenses/p7zip/ \
38 # /usr/share/doc/p7zip/DOC/License.txt \
39 # /usr/share/doc/p7zip/DOC/unRarLicense.txt
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 p7zip)
45 copy 7zr
46 CAT="utilities|supports only 7z archives"
47 DEPENDS="gcc-lib-base glibc-base"
48 ;;
49 p7zip-full)
50 copy @std @rm
51 CAT="utilities|full version with restricted codecs"
52 DEPENDS="p7zip"
53 ;;
54 esac
55 }