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