wok view d-feet/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents 240fb3120638
children
line source
1 # SliTaz package receipt.
3 PACKAGE="d-feet"
4 VERSION="0.1.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Feet is an easy to use D-Bus debugger."
7 MAINTAINER="monghitri@aruba.it"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://live.gnome.org/DFeet/"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus dbus-python pygtk python"
14 BUILD_DEPENDS="dbus-dev dbus-python-dev pygtk-dev python-dev python-setuptools"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $install/usr $fs
33 }