Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. CONFIGURE_ARGS+= --disable-checks
  21. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  22. dbus-glib-install:
  23. $(INSTALL_DIR) $(IDIR_DBUS_GLIB)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libdbus-glib-1.so* \
  25. $(IDIR_DBUS_GLIB)/usr/lib
  26. dbus-glib-dev-install:
  27. $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/include
  28. $(CP) $(WRKINST)/usr/include/* \
  29. $(IDIR_DBUS_GLIB_DEV)/usr/include
  30. $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig
  31. ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \
  32. $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig
  33. include ${TOPDIR}/mk/pkg-bottom.mk