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

get-skype: use dynamic version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 23 13:46:48 2012 +0100 (2012-12-23)
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 }