wok annotate unzip/receipt @ rev 6783
Up: pygobject to 2.26.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 16:18:46 2010 +0000 (2010-10-18) |
parents | 3115c291f303 |
children | c3bd0d2548ea |
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 { |
pascal@920 | 25 mkdir -p $fs/usr/bin |
pascal@920 | 26 cp -a $_pkg/bin/unzip $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 } |