wok-6.x annotate zip/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (18 months ago) |
parents | cec9f8f5726d |
children |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="zip" |
slaxemulator@7190 | 4 VERSION="3.0" |
pankso@211 | 5 CATEGORY="utilities" |
pankso@11 | 6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15361 | 8 LICENSE="other" |
al@19001 | 9 TARBALL="$PACKAGE${VERSION//./}.tgz" |
pascal@25460 | 10 WEB_SITE="https://infozip.sourceforge.net/" |
pascal@25539 | 11 WGET_URL="https://www.glaver.org/infozip/src/$TARBALL" |
jozee@4978 | 12 TAGS="archive compression" |
pankso@11 | 13 |
pascal@25461 | 14 # What is the latest version available today? |
pascal@24102 | 15 current_version() |
pascal@24102 | 16 { |
pascal@24102 | 17 wget -O - $WEB_SITE/Zip.html 2>/dev/null | \ |
pascal@24102 | 18 sed '/released/!d;s|.*Zip ||;s|<.*||;q' |
pascal@24102 | 19 } |
pascal@24102 | 20 |
pankso@11 | 21 # Rules to configure and make the package. |
pankso@11 | 22 compile_rules() |
pankso@11 | 23 { |
pankso@11 | 24 make -f unix/Makefile generic_gcc |
pankso@11 | 25 } |
pankso@11 | 26 |
pankso@11 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 28 genpkg_rules() |
pankso@11 | 29 { |
pankso@11 | 30 mkdir -p $fs/usr/bin |
pankso@11 | 31 cp -a $src/zip $fs/usr/bin |
pankso@11 | 32 cp -a $src/zipcloak $fs/usr/bin |
pankso@11 | 33 cp -a $src/zipnote $fs/usr/bin |
pankso@11 | 34 cp -a $src/zipsplit $fs/usr/bin |
pankso@11 | 35 } |