wok annotate pydf/receipt @ rev 25510

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 20:36:56 2023 +0000 (21 months ago)
parents 4bc62ecf066d
children
rev   line source
paul@16117 1 # SliTaz package receipt.
paul@16117 2
paul@16117 3 PACKAGE="pydf"
paul@19351 4 VERSION="12"
paul@16117 5 CATEGORY="utilities"
paul@16117 6 SHORT_DESC="Python disk file system."
paul@16117 7 MAINTAINER="paul@slitaz.org"
pascal@17345 8 LICENSE="PublicDomain"
paul@16117 9 DEPENDS="python"
paul@16117 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
paul@16117 11 WEB_SITE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
paul@16117 12 WGET_URL="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/$TARBALL"
paul@16117 13
pascal@24453 14 # What is the latest version available today?
pascal@24453 15 current_version()
pascal@24453 16 {
pascal@24453 17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 18 sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 19 }
pascal@24453 20
paul@16117 21 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16117 22 genpkg_rules()
paul@16117 23 {
paul@16117 24 mkdir -p $fs/usr/bin $fs/etc
paul@16117 25 cp -a $src/pydf $fs/usr/bin
paul@16117 26 cp -a $src/pydfrc $fs/etc
paul@16117 27 }
paul@16117 28