wok-current view dbus-python/receipt @ rev 25527
created recipes for libmpack and libmpack-dev 1.0.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:28:19 2023 +0100 (21 months ago) |
parents | f8e190dcc90f |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-python"
4 VERSION="1.2.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus python binding."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL"
14 DEPENDS="dbus dbus-glib glib libgio python"
15 BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/python* $fs/usr/lib
38 rm $fs/usr/lib/python*/*/*.la
39 }