kumquat-buildroot/package/avro-c/avro-c.mk
Romain Naour 5527266559 package/python-avro: don't refer to avro-c version variable
Like for other packages sharing the same version number, we
can't rely on Make variable expansion. It's working by chance
since avro-c is sorted before python-avro by the Buildroot
main Makefile [1].

[1] https://git.buildroot.net/buildroot/tree/Makefile?h=2022.02.1#n533

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Titouan Christophe <titouanchristophe@gmail.com>
[yann.morin.1998@free.fr: duplicate comment]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-05-14 23:55:04 +02:00

28 lines
684 B
Makefile

################################################################################
#
# avro-c
#
################################################################################
# When updating the version, please also update python-avro
AVRO_C_VERSION = 1.11.0
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))