wok-next view p7zip/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 0be966ba5e90 |
children | 6c73b944e8dd |
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="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
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 p7zip)
46 copy 7zr
47 CAT="utilities|supports only 7z archives"
48 DEPENDS="gcc-lib-base glibc-base"
49 ;;
50 p7zip-full)
51 copy @std @rm
52 CAT="utilities|full version with restricted codecs"
53 DEPENDS="p7zip"
54 ;;
55 esac
56 }