wok-next annotate zip/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 7729bf733291 |
children | d5aab818505e |
rev | line source |
---|---|
al@19835 | 1 # SliTaz package receipt v2. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="zip" |
slaxemulator@7190 | 4 VERSION="3.0" |
pankso@211 | 5 CATEGORY="utilities" |
al@19835 | 6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP" |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15361 | 8 LICENSE="other" |
al@19835 | 9 WEB_SITE="http://www.info-zip.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/zip.html" |
al@19835 | 11 |
al@20645 | 12 TARBALL="$PACKAGE${VERSION//./}.tar.gz" |
al@20645 | 13 WGET_URL="$SF_MIRROR/infozip/$TARBALL" |
al@19835 | 14 |
al@19835 | 15 BUILD_DEPENDS="bzip2-dev" |
pankso@11 | 16 |
al@20443 | 17 compile_rules() { |
al@19835 | 18 sed -i "s|/usr/local|$install/usr|; |
al@19835 | 19 s|\$(prefix)/man|\$(prefix)/share/man|" unix/Makefile |
al@19835 | 20 |
al@19835 | 21 make -f unix/Makefile generic_gcc && |
al@19835 | 22 make -f unix/Makefile install |
pankso@11 | 23 } |
pankso@11 | 24 |
al@20443 | 25 genpkg_rules() { |
al@19835 | 26 copy @std |
al@19835 | 27 DEPENDS="bzlib" |
al@19835 | 28 TAGS="archive compression" |
pankso@11 | 29 } |