mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 10:20:07 +00:00
27 lines
652 B
Plaintext
Executable File
27 lines
652 B
Plaintext
Executable File
# description : Python2 bindings to the D-Bus
|
|
# homepage : https://www.freedesktop.org/wiki/Software/DBusBindings
|
|
# maintainer : Emmett1, emmett1.2miligrams at gmail.com
|
|
# depends : dbus python2 python-dbus-common dbus-glib
|
|
|
|
name=python2-dbus
|
|
version=1.2.8
|
|
release=1
|
|
source=(http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz)
|
|
md5sum=(7379db774c10904f27e7e2743d90fb43)
|
|
|
|
build() {
|
|
cd dbus-python-$version
|
|
|
|
mkdir python2
|
|
pushd python2
|
|
PYTHON=/usr/bin/python2 \
|
|
../configure --prefix=/usr
|
|
make
|
|
popd
|
|
make -C python2 DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share
|
|
rm -rf $PKG/usr/include
|
|
rm -rf $PKG/usr/lib/pkgconfig
|
|
}
|