wok-4.x view unzip/receipt @ rev 8994

Up: squashfs to 4.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 06:36:12 2011 +0000 (2011-03-03)
parents be643f64f74f
children
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 }