wok view dbus-python3/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (2 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-python3"
4 SOURCE="dbus-python"
5 VERSION="1.2.18"
6 CATEGORY="system-tools"
7 SHORT_DESC="D-Bus python3 binding."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL"
15 DEPENDS="dbus dbus-glib glib libgio python3"
16 BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python3-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS PYTHON_VERSION=3 &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/python* $fs/usr/lib
39 rm $fs/usr/lib/python*/*/*.la
40 }