summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-11 04:41:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-14 23:51:20 +0200
commit23e5b60fdef5548fa7e5a4285ad22d08a32e8d3a (patch)
treee9f8b4a8996419676b50de105610b78b2be513f1
parent318f3db0dcc052aa770ca57c143b5f7bc40cdaf3 (diff)
downloadbuildroot-novena-23e5b60fdef5548fa7e5a4285ad22d08a32e8d3a.tar.gz
buildroot-novena-23e5b60fdef5548fa7e5a4285ad22d08a32e8d3a.zip
protobuf-c: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/protobuf-c/Config.in12
-rw-r--r--package/protobuf-c/protobuf-c.mk16
3 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 428218570..566d941bc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
new file mode 100644
index 000000000..9aff6e289
--- /dev/null
+++ b/package/protobuf-c/Config.in
@@ -0,0 +1,12 @@
+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
diff --git a/package/protobuf-c/protobuf-c.mk b/package/protobuf-c/protobuf-c.mk
new file mode 100644
index 000000000..eb0047af9
--- /dev/null
+++ b/package/protobuf-c/protobuf-c.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# 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))