wok-current rev 24354

created recipe for py3k-dbus-1.2.18
author Hans-G?nter Theisgen
date Thu Feb 03 15:11:19 2022 +0100 (2022-02-03)
parents 3105f866bc3e
children 42ca4855acf7
files py3k-dbus/description.txt py3k-dbus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/py3k-dbus/description.txt	Thu Feb 03 15:11:19 2022 +0100
     1.3 @@ -0,0 +1,2 @@
     1.4 +Dbus-python is the original Python binding for dbus, the reference
     1.5 +implementation of the D-Bus protocol.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/py3k-dbus/receipt	Thu Feb 03 15:11:19 2022 +0100
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="py3k-dbus"
     2.7 +VERSION="1.2.18"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Python3 bindings for dbus."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/DBusBindings/"
    2.13 +REPOLOGY="python:dbus-python"
    2.14 +
    2.15 +SOURCE="dbus-python"
    2.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    2.18 +
    2.19 +DEPENDS="py3k"
    2.20 +BUILD_DEPENDS="dbus-dev py3k-dev"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +	python3 setup.py build &&
    2.26 +	./configure		\
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make &&
    2.29 +	python3 setup.py install --skip-build --root=$DESTDIR &&
    2.30 +	make install DESTDIR=$DESTDIR
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	cook_copy_folders	lib
    2.37 +}