wok view pydf/receipt @ rev 25001
updated nnn (4.0 -> 4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:07:26 2022 +0100 (2022-05-16) |
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 }