|
|
@ -8,12 +8,12 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=avro-c |
|
|
|
PKG_VERSION:=1.8.2 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_VERSION:=1.9.1 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=@APACHE/avro/avro-$(PKG_VERSION)/c |
|
|
|
PKG_HASH:=4639982b2b8fbd91fc7128fef672207129c959bb7900dd64b077ce4206edf10e |
|
|
|
PKG_HASH:=7df7bc1e13ce7180f0438ed05ab6642b5b2b6df91f30b927b470e25a78e04642 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=John Clark <inindev@gmail.com> |
|
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
@ -37,10 +37,30 @@ define Package/avro-c/description |
|
|
|
This package contains the Apache Avro C library. |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/avro-c-utils |
|
|
|
SECTIONS:=utils |
|
|
|
CATEGORY:=Utilities |
|
|
|
DEPENDS:=+avro-c |
|
|
|
TITLE:=Apache Avro C utilities |
|
|
|
URL:=https://avro.apache.org |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/avro-c-utils/description |
|
|
|
This package contains the Apache Avro C utilities. |
|
|
|
endef |
|
|
|
|
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections |
|
|
|
|
|
|
|
define Package/avro-c/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavro.so* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/avro-c-utils/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/avro* $(1)/usr/bin/ |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,avro-c)) |
|
|
|
$(eval $(call BuildPackage,avro-c-utils)) |
|
|
|
|