summaryrefslogtreecommitdiffstats
path: root/package/liburiparser
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-11-23 20:56:51 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-26 22:45:00 +0100
commitb2d327d0dd3dcc661318790c1e8269c050c4ff54 (patch)
tree19b766c4a32eac91769bc7ffd100ee6cf8e0c23e /package/liburiparser
parent4aa0271d17988847233f2ae7bb90ca66b9146932 (diff)
downloadbuildroot-b2d327d0dd3dcc661318790c1e8269c050c4ff54.tar.gz
buildroot-b2d327d0dd3dcc661318790c1e8269c050c4ff54.zip
package/liburiparser: New package
[Thomas: - put liburiparser at the right place in package/Config.in, i.e sorted alphabetically - use positive logic for the wchar test.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/liburiparser')
-rw-r--r--package/liburiparser/Config.in7
-rw-r--r--package/liburiparser/liburiparser.hash3
-rw-r--r--package/liburiparser/liburiparser.mk19
3 files changed, 29 insertions, 0 deletions
diff --git a/package/liburiparser/Config.in b/package/liburiparser/Config.in
new file mode 100644
index 0000000000..95a6fe83ae
--- /dev/null
+++ b/package/liburiparser/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBURIPARSER
+ bool "liburiparser"
+ help
+ uriparser is a strictly RFC 3986 compliant URI parsing and handling
+ library written in C.
+
+ http://uriparser.sourceforge.net
diff --git a/package/liburiparser/liburiparser.hash b/package/liburiparser/liburiparser.hash
new file mode 100644
index 0000000000..84340f8b9c
--- /dev/null
+++ b/package/liburiparser/liburiparser.hash
@@ -0,0 +1,3 @@
+# From http://sourceforge.net/projects/uriparser/files/Sources/0.8.1/
+md5 4e4c5f0ee6abb111a431c45e144247aa uriparser-0.8.1.tar.bz2
+sha1 4405d8baa0d9f5bc0319e6d5e68770acab67b602 uriparser-0.8.1.tar.bz2
diff --git a/package/liburiparser/liburiparser.mk b/package/liburiparser/liburiparser.mk
new file mode 100644
index 0000000000..661fa960f4
--- /dev/null
+++ b/package/liburiparser/liburiparser.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# liburiparser
+#
+################################################################################
+
+LIBURIPARSER_VERSION = 0.8.1
+LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
+LIBURIPARSER_SITE = http://sourceforge.net/projects/uriparser/files/Sources/$(LIBURIPARSER_VERSION)
+LIBURIPARSER_LICENSE = BSD-3c
+LIBURIPARSER_LICENSE_FILES = COPYING
+LIBURIPARSER_INSTALL_STAGING = YES
+LIBURIPARSER_CONF_OPTS = --disable-test
+
+ifeq ($(BR2_USE_WCHAR),)
+LIBURIPARSER_CONF_OPTS += --disable-wchar_t
+endif
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud