wok-next view unzip/receipt @ rev 3692
Update: unzip (handle BusyBox symlinks)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 16 09:04:19 2009 +0000 (2009-07-16) |
parents | 7dacb27857cf |
children | 5b0b131c3480 |
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/bin/unzip
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox /bin/unzip
36 }