wok-current annotate unzip/receipt @ rev 5934
netsurf: add missing file.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 30 22:41:51 2010 +0200 (2010-07-30) |
parents | 5b0b131c3480 |
children | be643f64f74f |
rev | line source |
---|---|
pascal@920 | 1 # SliTaz package receipt. |
pascal@920 | 2 |
pascal@920 | 3 PACKAGE="unzip" |
pascal@920 | 4 VERSION="5.52" |
pascal@920 | 5 CATEGORY="system-tools" |
pascal@920 | 6 SHORT_DESC="Zip dearchiver." |
pascal@920 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@920 | 8 TARBALL="unzip552.tar.gz" |
pascal@920 | 9 WEB_SITE="http://www.info-zip.org/" |
pascal@920 | 10 WGET_URL="ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/src/$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 { |
pascal@920 | 16 cd $src |
pascal@920 | 17 make -f unix/Makefile generic |
pascal@920 | 18 make -f unix/Makefile prefix=$PWD/_pkg install |
pascal@920 | 19 } |
pascal@920 | 20 |
pascal@920 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@920 | 22 genpkg_rules() |
pascal@920 | 23 { |
pascal@920 | 24 mkdir -p $fs/usr/bin |
pascal@920 | 25 cp -a $_pkg/bin/unzip $fs/usr/bin |
pascal@920 | 26 } |
pascal@920 | 27 |
rcx@3692 | 28 # Remove Busybox symlink before installing |
rcx@3692 | 29 pre_install() |
rcx@3692 | 30 { |
rcx@3693 | 31 rm -f $1/usr/bin/unzip |
rcx@3692 | 32 } |
rcx@3692 | 33 |
rcx@3692 | 34 post_remove() |
rcx@3692 | 35 { |
rcx@3693 | 36 ln -s /bin/busybox /usr/bin/unzip |
rcx@3692 | 37 } |