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