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
|
|
|
|
2014-10-06 09:22:54 +02:00
|
|
|
PROTOBUF_VERSION = 2.5.0
|
|
|
|
PROTOBUF_SITE = http://protobuf.googlecode.com/files
|
2012-07-31 10:37:01 +02:00
|
|
|
PROTOBUF_LICENSE = BSD-3c
|
|
|
|
PROTOBUF_LICENSE_FILES = COPYING.txt
|
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))
|