wok-next view p7zip/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents f48456621a9d
children
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="devel@slitaz.org"
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/svn/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="$PACKAGE-full"
19 compile_rules() {
20 case $ARCH in
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
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 p7zip)
37 copy 7zr
38 CAT="utilities|supports only 7z archives"
39 ;;
40 *-full)
41 copy @std @rm
42 CAT="utilities|full version with restricted codecs"
43 DEPENDS="p7zip"
44 ;;
45 esac
46 }