wok-current annotate unzip/receipt @ rev 17461
syslinux/iso2exe: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 18 22:19:24 2014 +0100 (2014-12-18) |
parents | c3bd0d2548ea |
children | 9e01bc6321ea |
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" |
pascal@15601 | 8 LICENSE="other" |
slaxemulator@6522 | 9 TARBALL="unzip60.tar.gz" |
pascal@920 | 10 WEB_SITE="http://www.info-zip.org/" |
slaxemulator@6522 | 11 WGET_URL="$SF_MIRROR/infozip/$TARBALL" |
jozee@4974 | 12 TAGS="archive compression" |
pascal@920 | 13 |
pascal@920 | 14 # Rules to configure and make the package. |
pascal@920 | 15 compile_rules() |
pascal@920 | 16 { |
slaxemulator@6522 | 17 ln -sf $WOK/$PACKAGE/unzip60 $WOK/$PACKAGE/$PACKAGE-$VERSION |
pascal@920 | 18 cd $src |
pascal@920 | 19 make -f unix/Makefile generic |
pascal@15601 | 20 make -f unix/Makefile prefix=$DESTDIR install |
pascal@920 | 21 } |
pascal@920 | 22 |
pascal@920 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@920 | 24 genpkg_rules() |
pascal@920 | 25 { |
slaxemulator@7236 | 26 mkdir -p $fs/usr |
pascal@15601 | 27 cp -a $install/bin $fs/usr/bin |
pascal@920 | 28 } |
pascal@920 | 29 |
rcx@3692 | 30 # Remove Busybox symlink before installing |
rcx@3692 | 31 pre_install() |
rcx@3692 | 32 { |
rcx@3693 | 33 rm -f $1/usr/bin/unzip |
rcx@3692 | 34 } |
rcx@3692 | 35 |
rcx@3692 | 36 post_remove() |
rcx@3692 | 37 { |
rcx@3693 | 38 ln -s /bin/busybox /usr/bin/unzip |
rcx@3692 | 39 } |