curlpp: new package
authorSergio Prado <sergio.prado@e-labworks.com>
Sun, 31 Dec 2017 11:55:04 +0000 (09:55 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 31 Dec 2017 16:28:49 +0000 (17:28 +0100)
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/curlpp/Config.in [new file with mode: 0644]
package/curlpp/curlpp.hash [new file with mode: 0644]
package/curlpp/curlpp.mk [new file with mode: 0644]

index d3f3f05d76244212491c679d85f4e50b9a630cc4..716363493cf44f21d35d2b7326f7731e5dcaad6e 100644 (file)
@@ -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/
index a343503245d2fe6ddf63b0dd0f95eea883737d28..abd082c92d8c4dc24aa9ea2959271ff1cb454d1b 100644 (file)
@@ -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 (file)
index 0000000..a23e5d9
--- /dev/null
@@ -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 (file)
index 0000000..2b14a23
--- /dev/null
@@ -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 (file)
index 0000000..7528855
--- /dev/null
@@ -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))