wok-next annotate zip/receipt @ rev 20180
opencc: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 12:28:56 2017 +0100 (2017-11-02) |
parents | 762b649a4d73 |
children | 0e7893ac206d |
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@19835 | 10 |
al@19001 | 11 TARBALL="$PACKAGE${VERSION//./}.tgz" |
mallory@2683 | 12 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL" |
al@19835 | 13 |
al@19835 | 14 BUILD_DEPENDS="bzip2-dev" |
pankso@11 | 15 |
pankso@11 | 16 # Rules to configure and make the package. |
pankso@11 | 17 compile_rules() |
pankso@11 | 18 { |
al@19835 | 19 sed -i "s|/usr/local|$install/usr|; |
al@19835 | 20 s|\$(prefix)/man|\$(prefix)/share/man|" unix/Makefile |
al@19835 | 21 |
al@19835 | 22 make -f unix/Makefile generic_gcc && |
al@19835 | 23 make -f unix/Makefile install |
pankso@11 | 24 } |
pankso@11 | 25 |
pankso@11 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 27 genpkg_rules() |
pankso@11 | 28 { |
al@19835 | 29 copy @std |
al@19835 | 30 DEPENDS="bzlib" |
al@19835 | 31 TAGS="archive compression" |
pankso@11 | 32 } |