wok view py3k-dbus/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | b9659e3c2111 |
children |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/freedesktop/dbus-python/tags 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python3 setup.py build &&
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make &&
33 python3 setup.py install --skip-build --root=$DESTDIR &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders lib
41 }