wok view py3k-dbus/receipt @ 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
children b9659e3c2111
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-dbus"
4 VERSION="1.2.18"
5 CATEGORY="development"
6 SHORT_DESC="Python3 bindings for dbus."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/DBusBindings/"
10 REPOLOGY="python:dbus-python"
12 SOURCE="dbus-python"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="py3k"
17 BUILD_DEPENDS="dbus-dev py3k-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python3 setup.py build &&
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make &&
26 python3 setup.py install --skip-build --root=$DESTDIR &&
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders lib
34 }