wok-next view zip/receipt @ rev 20441

linux, linux-dev: fix mess with i386|i486, update 32bit config
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 05:41:11 2018 +0200 (2018-02-24)
parents 762b649a4d73
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="zip"
4 VERSION="3.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.info-zip.org/"
11 TARBALL="$PACKAGE${VERSION//./}.tgz"
12 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
14 BUILD_DEPENDS="bzip2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i "s|/usr/local|$install/usr|;
20 s|\$(prefix)/man|\$(prefix)/share/man|" unix/Makefile
22 make -f unix/Makefile generic_gcc &&
23 make -f unix/Makefile install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 copy @std
30 DEPENDS="bzlib"
31 TAGS="archive compression"
32 }