wok-current view pydf/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 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 }