wok-current view rgzip/receipt @ rev 25152

updated proot (5.1.0 -> 5.3.1)
author Hans-G?nter Theisgen
date Thu Jun 30 14:53:40 2022 +0100 (2022-06-30)
parents f13bd223c231
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rgzip"
4 VERSION="0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Rsync friendly gzip."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE.c"
10 WEB_SITE="http://svana.org/kleptog/rgzip.html"
11 WGET_URL="http://svana.org/kleptog/$TARBALL"
12 DEPENDS="busybox" # gzip
13 TAGS="compression"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/[0-9], [12][0-9]/!d;s|.*|"&"|' | xargs date +%Y%m%d -d
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 make rgzip
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $src/rgzip $fs/usr/bin
34 }