wok view pydf/receipt @ rev 25652

Up ntfs-3g (2022.10.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 06 11:59:08 2024 +0000 (9 months ago)
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 }