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
|
|
|
|
2012-03-15 09:51:27 +01:00
|
|
|
PROTOBUF_VERSION = 2.4.1
|
|
|
|
PROTOBUF_SOURCE = protobuf-$(PROTOBUF_VERSION).tar.gz
|
|
|
|
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
|
|
|
|
PROTOBUF_CONF_OPT = --with-protoc=$(HOST_DIR)/usr/bin/protoc
|
|
|
|
|
|
|
|
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))
|