wok-next view unzip/receipt @ rev 4374

pyneighborhood: fix depends and desktop.file
author Paul Issott <paul@slitaz.org>
date Sun Oct 11 13:25:38 2009 +0000 (2009-10-11)
parents 5cb89ee30835
children 3115c291f303
line source
1 # SliTaz package receipt.
3 PACKAGE="unzip"
4 VERSION="5.52"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zip dearchiver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="unzip552.tar.gz"
9 WEB_SITE="http://www.info-zip.org/"
10 WGET_URL="ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/src/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make -f unix/Makefile generic
17 make -f unix/Makefile prefix=$PWD/_pkg install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp -a $_pkg/bin/unzip $fs/usr/bin
25 }
27 # Remove Busybox symlink before installing
28 pre_install()
29 {
30 rm -f $1/usr/bin/unzip
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox /usr/bin/unzip
36 }