# SliTaz package receipt. PACKAGE="unzip" VERSION="6.0" CATEGORY="system-tools" SHORT_DESC="Zip dearchiver." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="unzip60.tar.gz" WEB_SITE="http://www.info-zip.org/" WGET_URL="$SF_MIRROR/infozip/$TARBALL" TAGS="archive compression" # Rules to configure and make the package. compile_rules() { ln -sf $WOK/$PACKAGE/unzip60 $WOK/$PACKAGE/$PACKAGE-$VERSION cd $src make -f unix/Makefile generic make -f unix/Makefile prefix=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/bin $fs/usr/bin } # Remove Busybox symlink before installing pre_install() { rm -f $1/usr/bin/unzip } post_remove() { ln -s /bin/busybox /usr/bin/unzip }