wok annotate zip/receipt @ rev 25461

foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 09:44:06 2022 +0000 (19 months ago)
parents 7dd01dedad38
children c3a6f662a1c1
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/"
mallory@2683 11 WGET_URL="ftp://ftp.info-zip.org/pub/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 }