Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= dbus-python
  5. PKG_VERSION:= 1.2.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= b09cd2d1a057cc432ce944de3fc06bf7
  8. PKG_DESCR:= DBUS python bindings
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= dbus dbus-glib
  11. PKG_BUILDDEP:= dbus dbus-glib
  12. PKG_URL:= http://dbus.freedesktop.org/doc/dbus-python/
  13. PKG_SITES:= http://dbus.freedesktop.org/releases/dbus-python/
  14. PKG_CFLINE_DBUS_PYTHON:= depends on ADK_BROKEN
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,DBUS_PYTHON,dbus-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. dbus-python-install:
  18. $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
  19. $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/*.so \
  20. $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
  21. $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus
  22. $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/*.py \
  23. $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/
  24. $(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
  25. $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/mainloop/*.py \
  26. $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
  27. include ${TOPDIR}/mk/pkg-bottom.mk