Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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-glib
  5. PKG_VERSION:= 0.86
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= cd0ab148fb0c786fc88be49d19971f50
  8. PKG_DESCR:= DBUS glib bindings
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= dbus glib
  11. PKG_BUILDDEP:= dbus glib
  12. PKG_URL:= http://www.freedesktop.org/wiki/Software/DBusBindings
  13. PKG_SITES:= http://dbus.freedesktop.org/releases/dbus-glib/
  14. PKG_SUBPKGS:= DBUS_GLIB DBUS_GLIB_DEV
  15. PKGSC_DBUS_GLIB_DEV:= devel
  16. PKGSD_DBUS_GLIB_DEV:= dbus-glib headers
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,DBUS_GLIB,dbus-glib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,DBUS_GLIB_DEV,dbus-glib-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBUS_GLIB_DEV},${PKGSC_DBUS_GLIB_DEV}))
  20. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  21. CONFIGURE_ARGS+= --disable-checks
  22. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  23. dbus-glib-install:
  24. $(INSTALL_DIR) $(IDIR_DBUS_GLIB)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libdbus-glib-1.so* \
  26. $(IDIR_DBUS_GLIB)/usr/lib
  27. dbus-glib-dev-install:
  28. $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/include
  29. $(CP) $(WRKINST)/usr/include/* \
  30. $(IDIR_DBUS_GLIB_DEV)/usr/include
  31. $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig
  32. ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \
  33. $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig
  34. $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/bin
  35. $(INSTALL_BIN) $(WRKINST)/usr/bin/dbus-binding-tool \
  36. $(IDIR_DBUS_GLIB_DEV)/usr/bin
  37. include ${TOPDIR}/mk/pkg-bottom.mk