wok annotate zip/receipt @ rev 1112

iw: fake source tree before cd
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jul 19 21:06:23 2008 +0200 (2008-07-19)
parents 534cedd9d753
children 637e958c066c
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="zip"
pankso@11 4 VERSION="2.32"
pankso@211 5 CATEGORY="utilities"
pankso@11 6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP."
pankso@11 7 MAINTAINER="pankso@slitaz.org"
pankso@11 8 TARBALL="zip232.tar.gz"
pankso@11 9 WEB_SITE="http://www.info-zip.org/"
pankso@11 10 WGET_URL="ftp://ftp.dante.de/tex-archive/tools/zip/info-zip/src/$TARBALL"
pankso@11 11
pankso@11 12 # Rules to configure and make the package.
pankso@11 13 compile_rules()
pankso@11 14 {
pankso@11 15 cd $src
pankso@11 16 make -f unix/Makefile generic_gcc
pankso@11 17 }
pankso@11 18
pankso@11 19 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11 20 genpkg_rules()
pankso@11 21 {
pankso@11 22 mkdir -p $fs/usr/bin
pankso@11 23 cp -a $src/zip $fs/usr/bin
pankso@11 24 cp -a $src/zipcloak $fs/usr/bin
pankso@11 25 cp -a $src/zipnote $fs/usr/bin
pankso@11 26 cp -a $src/zipsplit $fs/usr/bin
pankso@11 27 strip -s $fs/usr/bin/*
pankso@11 28 }
pankso@11 29