Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= dbus-python
  5. PKG_VERSION:= 1.2.0
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df
  8. PKG_DESCR:= python bindings for dbus
  9. PKG_SECTION:= dev/python
  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. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. include $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk