wok view rgzip/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | f13bd223c231 |
children | 1e09c4c56491 |
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 }