You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.8 KiB

  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.20.3
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=@GNOME/libgee/0.20
  11. PKG_HASH:=d0b5edefc88cbca5f1709d19fa62aef490922c6577a14ac4e7b085507911a5de
  12. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  13. PKG_LICENSE:=LGPL-2.1-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=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-benchmark \
  32. --disable-coverage \
  33. --disable-doc \
  34. --disable-internal-asserts \
  35. --disable-introspection \
  36. --disable-vala-fatal-warnings
  37. define Build/InstallDev
  38. $(INSTALL_DIR) $(1)/usr/include/
  39. $(CP) \
  40. $(PKG_INSTALL_DIR)/usr/include/gee-0.8/ \
  41. $(1)/usr/include/
  42. $(INSTALL_DIR) $(1)/usr/lib/
  43. $(CP) \
  44. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  45. $(1)/usr/lib/
  46. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  47. $(INSTALL_DATA) \
  48. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  49. $(1)/usr/lib/pkgconfig/
  50. $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi/
  51. $(INSTALL_DATA) \
  52. $(PKG_INSTALL_DIR)/usr/share/vala/vapi/* \
  53. $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi
  54. endef
  55. define Package/libgee/install
  56. $(INSTALL_DIR) $(1)/usr/lib/
  57. $(CP) \
  58. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  59. $(1)/usr/lib/
  60. endef
  61. $(eval $(call BuildPackage,libgee))