summaryrefslogtreecommitdiff
path: root/package/dbus-python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus-python/Makefile')
-rw-r--r--package/dbus-python/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/dbus-python/Makefile b/package/dbus-python/Makefile
new file mode 100644
index 000000000..e76d508a7
--- /dev/null
+++ b/package/dbus-python/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= dbus-python
+PKG_VERSION:= 1.2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b09cd2d1a057cc432ce944de3fc06bf7
+PKG_DESCR:= DBUS python bindings
+PKG_SECTION:= libs
+PKG_DEPENDS:= dbus dbus-glib
+PKG_BUILDDEP:= dbus dbus-glib
+PKG_URL:= http://dbus.freedesktop.org/doc/dbus-python/
+PKG_SITES:= http://dbus.freedesktop.org/releases/dbus-python/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DBUS_PYTHON,dbus-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+dbus-python-install:
+ $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
+ $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/*.so \
+ $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
+ $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus
+ $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/*.py \
+ $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/
+ $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
+ $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/mainloop/*.py \
+ $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
+
+
+
+include ${TOPDIR}/mk/pkg-bottom.mk