wok view py3k-dbus/receipt @ rev 24476

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 09:29:30 2022 +0000 (2022-02-18)
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 }