wok view pydf/receipt @ rev 24894

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