Skip to contentSkip to conversation

curlpp: new package

PATCH New Sergio Prado 2 participants 2 messages Dec 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 curlpp: new package

---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/curlpp/Config.in   | 12 ++++++++++++
 package/curlpp/curlpp.hash |  5 +++++
 package/curlpp/curlpp.mk   | 18 ++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/curlpp/Config.in
 create mode 100644 package/curlpp/curlpp.hash
 create mode 100644 package/curlpp/curlpp.mk
DEVELOPERS +1 -0
index b6cc7a095002..32194307c925 100644
@@ -1566,6 +1566,7 @@ F:	package/rtl8189fs/
 F:	package/xr819-xradio/
 
 N:	Sergio Prado <[email protected]>
+F:	package/curlpp/
 F:	package/libgdiplus/
 F:	package/mongodb/
 F:	package/pimd/
package/Config.in +1 -0
index bd39a374f06f..62242b2ee8ad 100644
@@ -1337,6 +1337,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/filemq/Config.in"
 	source "package/flickcurl/Config.in"
package/curlpp/Config.in new file +12 -0
new file mode 100644
index 000000000000..a23e5d939bd6
@@ -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
package/curlpp/curlpp.hash new file +5 -0
new file mode 100644
index 000000000000..2b14a235ee77
@@ -0,0 +1,5 @@
+# Locally computed:
+sha256 97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a  v0.8.1.tar.gz
+
+# Hash for license files:
+sha256 8b9e3afd4d06ad3c169e788e5187a3e9f4f35671e9a7322f7e74bea9643b5b5a  doc/LICENSE
package/curlpp/curlpp.mk new file +18 -0
new file mode 100644
index 000000000000..97717100c446
@@ -0,0 +1,18 @@
+################################################################################
+#
+# 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))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 curlpp: new package

Hello,

package/curlpp/curlpp.hash line 2

Quoted 2 lines · Sergio Prado
package/curlpp/curlpp.hash new file +2 -0
+# Locally computed:
+sha256 97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a  v0.8.1.tar.gz

What an annoying tarball name :-/ It's going to conflict with any other package using the same name.

But well, we don't have a good solution to work-around this at the moment. The mid-term solution is to move to one sub-folder per-package in DL_DIR.

Anyway, I've applied your patch. Thanks!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com