wok-6.x annotate unzip/receipt @ rev 4951
Add fsarchiver (backup full partition on smaller partition)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 17 09:31:26 2010 +0000 (2010-02-17) |
parents | 5cb89ee30835 |
children | 3115c291f303 |
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" |
pascal@920 | 11 |
pascal@920 | 12 # Rules to configure and make the package. |
pascal@920 | 13 compile_rules() |
pascal@920 | 14 { |
pascal@920 | 15 cd $src |
pascal@920 | 16 make -f unix/Makefile generic |
pascal@920 | 17 make -f unix/Makefile prefix=$PWD/_pkg install |
pascal@920 | 18 } |
pascal@920 | 19 |
pascal@920 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@920 | 21 genpkg_rules() |
pascal@920 | 22 { |
pascal@920 | 23 mkdir -p $fs/usr/bin |
pascal@920 | 24 cp -a $_pkg/bin/unzip $fs/usr/bin |
pascal@920 | 25 } |
pascal@920 | 26 |
rcx@3692 | 27 # Remove Busybox symlink before installing |
rcx@3692 | 28 pre_install() |
rcx@3692 | 29 { |
rcx@3693 | 30 rm -f $1/usr/bin/unzip |
rcx@3692 | 31 } |
rcx@3692 | 32 |
rcx@3692 | 33 post_remove() |
rcx@3692 | 34 { |
rcx@3693 | 35 ln -s /bin/busybox /usr/bin/unzip |
rcx@3692 | 36 } |