wok-current view zip/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (3 weeks ago)
parents c3a6f662a1c1
children
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="https://infozip.sourceforge.net/"
11 WGET_URL="https://www.glaver.org/infozip/src/$TARBALL"
12 TAGS="archive compression"
14 HOST_ARCH="i486 x86_64"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/Zip.html 2>/dev/null | \
20 sed '/released/!d;s|.*Zip ||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make -f unix/Makefile generic_gcc
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/zip $fs/usr/bin
34 cp -a $src/zipcloak $fs/usr/bin
35 cp -a $src/zipnote $fs/usr/bin
36 cp -a $src/zipsplit $fs/usr/bin
37 }