Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=libgee
  7. PKG_VERSION:=0.18.0
  8. PKG_RELEASE:=2
  9. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  10. PKG_LICENSE:=LGPL-2.1
  11. PKG_LICENSE_FILES:=COPYING
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_SOURCE_URL:=@GNOME/libgee/0.18/
  14. PKG_MD5SUM:=29ea6125e653d7e60b49a9a9544abc96
  15. PKG_FIXUP:=autoreconf
  16. PKG_INSTALL:=1
  17. PKG_BUILD_DEPENDS:=vala/host
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/nls.mk
  20. define Package/libgee
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. DEPENDS:=+glib2
  24. TITLE:=libgee
  25. URL:=https://wiki.gnome.org/Libgee
  26. endef
  27. define Package/libgee/decription
  28. Libgee is an utility library providing GObject-based interfaces and classes
  29. endef
  30. CONFIGURE_ARGS += \
  31. --disable-doc
  32. define Build/InstallDev
  33. $(INSTALL_DIR) $(1)/usr/include/
  34. $(CP) \
  35. $(PKG_INSTALL_DIR)/usr/include/gee-0.8/ \
  36. $(1)/usr/include/
  37. $(INSTALL_DIR) $(1)/usr/lib/
  38. $(CP) \
  39. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  40. $(1)/usr/lib/
  41. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  42. $(INSTALL_DATA) \
  43. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  44. $(1)/usr/lib/pkgconfig/
  45. $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi/
  46. $(INSTALL_DATA) \
  47. $(PKG_INSTALL_DIR)/usr/share/vala/vapi/* \
  48. $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi
  49. endef
  50. define Package/libgee/install
  51. $(INSTALL_DIR) $(1)/usr/lib/
  52. $(CP) \
  53. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  54. $(1)/usr/lib/
  55. endef
  56. $(eval $(call BuildPackage,libgee))