2019-12-24 01:23:56 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# avro-c
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-05-15 03:57:11 +08:00
|
|
|
# When updating the version, please also update python-avro
|
2024-09-26 23:44:01 +08:00
|
|
|
AVRO_C_VERSION = 1.12.0
|
2019-12-24 01:23:56 +08:00
|
|
|
AVRO_C_SITE = https://www-eu.apache.org/dist/avro/avro-$(AVRO_C_VERSION)/c
|
|
|
|
AVRO_C_LICENSE = Apache-2.0
|
|
|
|
AVRO_C_LICENSE_FILES = LICENSE
|
|
|
|
AVRO_C_INSTALL_STAGING = YES
|
|
|
|
AVRO_C_DEPENDENCIES = host-pkgconf jansson
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
|
|
|
AVRO_C_DEPENDENCIES += snappy
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
AVRO_C_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XZ),y)
|
|
|
|
AVRO_C_DEPENDENCIES += xz
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|