wok view unzip/receipt @ rev 5016

catalyst (ati drivers) must not depend on nvidia
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 01 08:33:46 2010 +0000 (2010-03-01)
parents 5b0b131c3480
children be643f64f74f
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"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make -f unix/Makefile generic
18 make -f unix/Makefile prefix=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $_pkg/bin/unzip $fs/usr/bin
26 }
28 # Remove Busybox symlink before installing
29 pre_install()
30 {
31 rm -f $1/usr/bin/unzip
32 }
34 post_remove()
35 {
36 ln -s /bin/busybox /usr/bin/unzip
37 }