wok-current view zip/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents b303dfac3b48
children a1c1d35d9f92
line source
1 # SliTaz package receipt.
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 TARBALL="zip30.tgz"
9 WEB_SITE="http://www.info-zip.org/"
10 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 src=$WOK/$PACKAGE/zip30
17 cd $src
18 make -f unix/Makefile generic_gcc
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 src=$WOK/$PACKAGE/zip30
25 mkdir -p $fs/usr/bin
26 cp -a $src/zip $fs/usr/bin
27 cp -a $src/zipcloak $fs/usr/bin
28 cp -a $src/zipnote $fs/usr/bin
29 cp -a $src/zipsplit $fs/usr/bin
30 strip -s $fs/usr/bin/*
31 }