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.

46 lines
1.0 KiB

  1. #
  2. # avro - Makefile for Apache Avro library
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=avro-c
  9. PKG_VERSION:=1.8.2
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@APACHE/avro/avro-$(PKG_VERSION)/c
  13. PKG_HASH:=4639982b2b8fbd91fc7128fef672207129c959bb7900dd64b077ce4206edf10e
  14. PKG_MAINTAINER:=John Clark <inindev@gmail.com>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. CMAKE_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/avro-c
  22. SECTION:=libs
  23. CATEGORY:=Libraries
  24. DEPENDS:=+jansson +zlib +liblzma
  25. TITLE:=Apache Avro C Library
  26. URL:=https://avro.apache.org
  27. endef
  28. define Package/avro-c/description
  29. This package contains the Apache Avro C library.
  30. endef
  31. define Package/avro-c/install
  32. $(INSTALL_DIR) $(1)/usr/lib
  33. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavro.so* $(1)/usr/lib/
  34. endef
  35. $(eval $(call BuildPackage,avro-c))