wok-6.x view zip/receipt @ rev 24491
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 18 22:59:06 2022 +0000 (2022-02-18) |
parents | 56ee356284c6 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zip"
4 VERSION="3.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Compressor utilities compatible with the DOS PKZIP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE${VERSION//./}.tgz"
10 WEB_SITE="http://infozip.sourceforge.net/"
11 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
12 TAGS="archive compression"
14 current_version()
15 {
16 wget -O - $WEB_SITE/Zip.html 2>/dev/null | \
17 sed '/released/!d;s|.*Zip ||;s|<.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make -f unix/Makefile generic_gcc
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/zip $fs/usr/bin
31 cp -a $src/zipcloak $fs/usr/bin
32 cp -a $src/zipnote $fs/usr/bin
33 cp -a $src/zipsplit $fs/usr/bin
34 }