wok view zip/receipt @ rev 25696

created recipe for dool
author Hans-G?nter Theisgen
date Sat May 11 17:17:55 2024 +0100 (6 months ago)
parents cec9f8f5726d
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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/Zip.html 2>/dev/null | \
18 sed '/released/!d;s|.*Zip ||;s|<.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make -f unix/Makefile generic_gcc
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/zip $fs/usr/bin
32 cp -a $src/zipcloak $fs/usr/bin
33 cp -a $src/zipnote $fs/usr/bin
34 cp -a $src/zipsplit $fs/usr/bin
35 }