summaryrefslogtreecommitdiffstats
path: root/main/py-dbus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-dbus/APKBUILD')
-rw-r--r--main/py-dbus/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/py-dbus/APKBUILD b/main/py-dbus/APKBUILD
new file mode 100644
index 000000000..2d5d9ed5a
--- /dev/null
+++ b/main/py-dbus/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=py-dbus
+pkgver=0.83.1
+pkgrel=1
+pkgdesc="Python bindings for DBUS"
+url="http://www.freedesktop.org/wiki/Software/DBusBindings"
+arch="all"
+license="GPL LGPL"
+depends="python>=2.6.5"
+makedepends="pkgconfig dbus-glib-dev python-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar.gz"
+
+_builddir="$srcdir"/dbus-python-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="5fdf3970aa0c00020289de7ba8f3be18 dbus-python-0.83.1.tar.gz"