![Titouan Christophe](/assets/img/avatar_default.png)
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu> [yann.morin.1998@free.fr: - backport the patch from upstream now it'sapplied ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
27 lines
623 B
Makefile
27 lines
623 B
Makefile
################################################################################
|
|
#
|
|
# avro-c
|
|
#
|
|
################################################################################
|
|
|
|
AVRO_C_VERSION = 1.9.1
|
|
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))
|