30 lines
760 B
Plaintext
30 lines
760 B
Plaintext
# Description: D-Bus Python bindings
|
|
# URL: http://freedesktop.org/wiki/Software/DBusBindings
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: dbus-glib
|
|
|
|
name=dbus-python3
|
|
version=1.2.18
|
|
release=2
|
|
source=(https://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz
|
|
0001-Move-python-modules-to-architecture-specific-directo.patch)
|
|
|
|
build() {
|
|
cd dbus-python-$version
|
|
|
|
patch -Np1 -i $SRC/0001-Move-python-modules-to-architecture-specific-directo.patch
|
|
autoreconf -vfi
|
|
|
|
./configure --prefix=/usr \
|
|
PYTHON=/usr/bin/python3 \
|
|
PYTHON_EXTRA_LIBS=' '
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
/usr/bin/python3 setup.py install --root=$PKG \
|
|
--optimize=1 \
|
|
--skip-build
|
|
|
|
find $PKG -name '*.la' -type f -delete
|
|
}
|