2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-11 06:41:35 +02:00
|
|
|
#
|
|
|
|
# protobuf-c
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-11 06:41:35 +02:00
|
|
|
|
2017-09-17 20:47:09 +02:00
|
|
|
PROTOBUF_C_VERSION = v1.3.0
|
2014-05-06 22:24:59 +02:00
|
|
|
PROTOBUF_C_SITE = $(call github,protobuf-c,protobuf-c,$(PROTOBUF_C_VERSION))
|
2014-01-14 09:21:36 +01:00
|
|
|
PROTOBUF_C_DEPENDENCIES = host-protobuf-c
|
2014-05-06 22:25:01 +02:00
|
|
|
HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf host-pkgconf
|
2013-11-26 10:09:41 +01:00
|
|
|
PROTOBUF_C_MAKE = $(MAKE1)
|
2014-09-27 21:32:44 +02:00
|
|
|
PROTOBUF_C_CONF_OPTS = --disable-protoc
|
2013-04-11 06:41:35 +02:00
|
|
|
PROTOBUF_C_INSTALL_STAGING = YES
|
2017-03-30 15:43:39 +02:00
|
|
|
PROTOBUF_C_LICENSE = BSD-2-Clause
|
2014-06-24 20:55:58 +02:00
|
|
|
PROTOBUF_C_LICENSE_FILES = LICENSE
|
2014-05-06 22:24:59 +02:00
|
|
|
PROTOBUF_C_AUTORECONF = YES
|
|
|
|
HOST_PROTOBUF_C_AUTORECONF = YES
|
2013-04-11 06:41:35 +02:00
|
|
|
|
2018-06-24 10:52:19 +02:00
|
|
|
# host-protobuf needs c++11 (since 3.6.0)
|
|
|
|
HOST_PROTOBUF_C_CONF_ENV += CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
|
|
|
|
|
2013-04-11 06:41:35 +02:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|