wok view unzip/receipt @ rev 11409

Up: librsvg to 2.34.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 21:17:05 2011 +0000 (2011-12-10)
parents be643f64f74f
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="unzip"
4 VERSION="6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zip dearchiver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="unzip60.tar.gz"
9 WEB_SITE="http://www.info-zip.org/"
10 WGET_URL="$SF_MIRROR/infozip/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ln -sf $WOK/$PACKAGE/unzip60 $WOK/$PACKAGE/$PACKAGE-$VERSION
17 cd $src
18 make -f unix/Makefile generic
19 make -f unix/Makefile prefix=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/bin $fs/usr/bin
27 }
29 # Remove Busybox symlink before installing
30 pre_install()
31 {
32 rm -f $1/usr/bin/unzip
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox /usr/bin/unzip
38 }