Commit 23e5b60f authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

protobuf-c: new package

parent 318f3db0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -586,6 +586,7 @@ source "package/mtdev2tuio/Config.in"
source "package/orc/Config.in"
source "package/poco/Config.in"
source "package/protobuf/Config.in"
source "package/protobuf-c/Config.in"
source "package/schifra/Config.in"
source "package/startup-notification/Config.in"
source "package/liblog4c-localtime/Config.in"
+12 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_PROTOBUF_C
	bool "protobuf-c"
	depends on BR2_INSTALL_LIBSTDCPP
	select BR2_PACKAGE_PROTOBUF
	help
	  Code generator and runtime libraries to use Protocol Buffers
	  from pure C (not C++).

	  http://code.google.com/p/protobuf-c/

comment "protobuf-c requires a toolchain with C++ support enabled"
	depends on !BR2_INSTALL_LIBSTDCPP
+16 −0
Original line number Diff line number Diff line
#############################################################
#
# protobuf-c
#
#############################################################

PROTOBUF_C_VERSION = 0.15
PROTOBUF_C_SITE = http://protobuf-c.googlecode.com/files
PROTOBUF_C_DEPENDENCIES = protobuf host-protobuf-c
HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf
PROTOBUF_C_CONF_OPT = --disable-protoc
PROTOBUF_C_INSTALL_STAGING = YES
PROTOBUF_C_LICENSE = BSD-3c

$(eval $(autotools-package))
$(eval $(host-autotools-package))