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