wok annotate unzip/receipt @ rev 21566
updated wesnoth again (1.10.3 -> 1.14.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 17 14:20:42 2019 +0100 (2019-05-17) |
parents | 762b649a4d73 |
children | 56ee356284c6 |
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" |
al@19001 | 9 TARBALL="$PACKAGE${VERSION//./}.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 { |
pascal@20212 | 17 sed -i 's|uname -m|echo i486|' beos/Makefile |
al@19001 | 18 ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION |
al@19001 | 19 |
pascal@920 | 20 make -f unix/Makefile generic |
pascal@15601 | 21 make -f unix/Makefile prefix=$DESTDIR install |
pascal@920 | 22 } |
pascal@920 | 23 |
pascal@920 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@920 | 25 genpkg_rules() |
pascal@920 | 26 { |
slaxemulator@7236 | 27 mkdir -p $fs/usr |
pascal@15601 | 28 cp -a $install/bin $fs/usr/bin |
pascal@920 | 29 } |
pascal@920 | 30 |
rcx@3692 | 31 # Remove Busybox symlink before installing |
rcx@3692 | 32 pre_install() |
rcx@3692 | 33 { |
pascal@18730 | 34 rm -f "$1/usr/bin/unzip" |
rcx@3692 | 35 } |
rcx@3692 | 36 |
rcx@3692 | 37 post_remove() |
rcx@3692 | 38 { |
rcx@3693 | 39 ln -s /bin/busybox /usr/bin/unzip |
rcx@3692 | 40 } |