wok-next annotate zip/receipt @ rev 8190

imported patch toolchain/gmp.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents b303dfac3b48
children a1c1d35d9f92
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="zip"
slaxemulator@7190 4 VERSION="3.0"
pankso@211 5 CATEGORY="utilities"
pankso@11 6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP."
pankso@11 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@7190 8 TARBALL="zip30.tgz"
pankso@11 9 WEB_SITE="http://www.info-zip.org/"
mallory@2683 10 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
jozee@4978 11 TAGS="archive compression"
pankso@11 12
pankso@11 13 # Rules to configure and make the package.
pankso@11 14 compile_rules()
pankso@11 15 {
slaxemulator@7190 16 src=$WOK/$PACKAGE/zip30
pankso@11 17 cd $src
pankso@11 18 make -f unix/Makefile generic_gcc
pankso@11 19 }
pankso@11 20
pankso@11 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11 22 genpkg_rules()
pankso@11 23 {
slaxemulator@7190 24 src=$WOK/$PACKAGE/zip30
pankso@11 25 mkdir -p $fs/usr/bin
pankso@11 26 cp -a $src/zip $fs/usr/bin
pankso@11 27 cp -a $src/zipcloak $fs/usr/bin
pankso@11 28 cp -a $src/zipnote $fs/usr/bin
pankso@11 29 cp -a $src/zipsplit $fs/usr/bin
pankso@11 30 strip -s $fs/usr/bin/*
pankso@11 31 }
pankso@11 32