summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Prado <sergio.prado@e-labworks.com>2017-12-31 11:55:04 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-31 16:28:49 (GMT)
commiteaa4d2ead333add4737ed3593090d0d69d285420 (patch)
tree7b8a6640fe4f20f0057b3ea64e7e460736c7a20a
parent8d8cc1405c29c66e7c85da52d47b0b138ec8df46 (diff)
downloadbuildroot-eaa4d2ead333add4737ed3593090d0d69d285420.tar.gz
buildroot-eaa4d2ead333add4737ed3593090d0d69d285420.tar.bz2
curlpp: new package
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/curlpp/Config.in12
-rw-r--r--package/curlpp/curlpp.hash5
-rw-r--r--package/curlpp/curlpp.mk15
5 files changed, 34 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index d3f3f05..7163634 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1567,6 +1567,7 @@ F: package/rtl8189fs/
F: package/xr819-xradio/
N: Sergio Prado <sergio.prado@e-labworks.com>
+F: package/curlpp/
F: package/daq/
F: package/libgdiplus/
F: package/mongodb/
diff --git a/package/Config.in b/package/Config.in
index a343503..abd082c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1339,6 +1339,7 @@ menu "Networking"
source "package/canfestival/Config.in"
source "package/cgic/Config.in"
source "package/cppzmq/Config.in"
+ source "package/curlpp/Config.in"
source "package/czmq/Config.in"
source "package/daq/Config.in"
source "package/filemq/Config.in"
diff --git a/package/curlpp/Config.in b/package/curlpp/Config.in
new file mode 100644
index 0000000..a23e5d9
--- /dev/null
+++ b/package/curlpp/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_CURLPP
+ bool "curlpp"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_LIBCURL
+ help
+ cURLpp is a C++ wrapper for libcURL.
+
+ http://www.curlpp.org/
+
+comment "curlpp needs a toolchain w/ C++, dynamic library"
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
diff --git a/package/curlpp/curlpp.hash b/package/curlpp/curlpp.hash
new file mode 100644
index 0000000..2b14a23
--- /dev/null
+++ b/package/curlpp/curlpp.hash
@@ -0,0 +1,5 @@
+# Locally computed:
+sha256 97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a v0.8.1.tar.gz
+
+# Hash for license files:
+sha256 8b9e3afd4d06ad3c169e788e5187a3e9f4f35671e9a7322f7e74bea9643b5b5a doc/LICENSE
diff --git a/package/curlpp/curlpp.mk b/package/curlpp/curlpp.mk
new file mode 100644
index 0000000..7528855
--- /dev/null
+++ b/package/curlpp/curlpp.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# curlpp
+#
+################################################################################
+
+CURLPP_VERSION = 0.8.1
+CURLPP_SITE = https://github.com/jpbarrette/curlpp/archive
+CURLPP_SOURCE = v$(CURLPP_VERSION).tar.gz
+CURLPP_LICENSE = MIT
+CURLPP_LICENSE_FILES = doc/LICENSE
+CURLPP_INSTALL_STAGING = YES
+CURLPP_DEPENDENCIES = libcurl
+
+$(eval $(cmake-package))