2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-15 09:51:27 +01:00
|
|
|
#
|
|
|
|
# protobuf
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2016-10-22 16:00:19 +02:00
|
|
|
# When bumping this package, make sure to also verify if the
|
|
|
|
# python-protobuf package still works, as they share the same
|
|
|
|
# version/site variables.
|
2016-10-20 19:13:29 +02:00
|
|
|
PROTOBUF_VERSION = v3.0.0
|
2015-05-21 12:57:54 +02:00
|
|
|
PROTOBUF_SITE = $(call github,google,protobuf,$(PROTOBUF_VERSION))
|
2012-07-31 10:37:01 +02:00
|
|
|
PROTOBUF_LICENSE = BSD-3c
|
2015-11-04 22:05:10 +01:00
|
|
|
PROTOBUF_LICENSE_FILES = LICENSE
|
2015-05-22 06:30:20 +02:00
|
|
|
# no configure script
|
|
|
|
PROTOBUF_AUTORECONF = YES
|
2012-03-15 09:51:27 +01:00
|
|
|
|
|
|
|
# N.B. Need to use host protoc during cross compilation.
|
|
|
|
PROTOBUF_DEPENDENCIES = host-protobuf
|
2014-09-27 21:32:44 +02:00
|
|
|
PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
|
2012-03-15 09:51:27 +01:00
|
|
|
|
|
|
|
PROTOBUF_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
PROTOBUF_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|