wok view pydf/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (4 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 }