summaryrefslogtreecommitdiff
path: root/homebrew/uriparser
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/uriparser')
-rw-r--r--homebrew/uriparser/.beer50
-rw-r--r--homebrew/uriparser/.make.sh-auto5
-rw-r--r--homebrew/uriparser/_metadata/description1
-rw-r--r--homebrew/uriparser/_metadata/homepage1
-rw-r--r--homebrew/uriparser/_metadata/name1
-rw-r--r--homebrew/uriparser/_metadata/version1
-rwxr-xr-xhomebrew/uriparser/download.sh1
7 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/uriparser/.beer b/homebrew/uriparser/.beer
new file mode 100644
index 000000000..98c83fcc0
--- /dev/null
+++ b/homebrew/uriparser/.beer
@@ -0,0 +1,50 @@
+{
+ "name": "Uriparser",
+ "description": "URI parsing library (strictly RFC 3986 compliant)",
+ "url": "https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.1/uriparser-0.9.1.tar.bz2",
+ "mirror": null,
+ "homepage": "https://uriparser.github.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [
+ {
+ "name": "gtest",
+ "url": "https://github.com/google/googletest/archive/release-1.8.1.tar.gz"
+ }
+ ],
+ "conflicts": [
+ {
+ "conflict": "libkml",
+ "reason": "both install `liburiparser.dylib`"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "(buildpath/\"gtest\").install resource(\"gtest\")",
+ "(buildpath/\"gtest/googletest\").cd do",
+ "system \"cmake\", \".\"",
+ "system \"make\""
+ ],
+ "version": "0.9.1",
+ "file": "uriparser.rb"
+} \ No newline at end of file
diff --git a/homebrew/uriparser/.make.sh-auto b/homebrew/uriparser/.make.sh-auto
new file mode 100644
index 000000000..fb810a4cb
--- /dev/null
+++ b/homebrew/uriparser/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+(buildpath/"gtest").install resource("gtest")
+(buildpath/"gtest/googletest").cd do
+cmake .
+make
diff --git a/homebrew/uriparser/_metadata/description b/homebrew/uriparser/_metadata/description
new file mode 100644
index 000000000..77637346e
--- /dev/null
+++ b/homebrew/uriparser/_metadata/description
@@ -0,0 +1 @@
+URI parsing library (strictly RFC 3986 compliant)
diff --git a/homebrew/uriparser/_metadata/homepage b/homebrew/uriparser/_metadata/homepage
new file mode 100644
index 000000000..a222f231f
--- /dev/null
+++ b/homebrew/uriparser/_metadata/homepage
@@ -0,0 +1 @@
+https://uriparser.github.io/
diff --git a/homebrew/uriparser/_metadata/name b/homebrew/uriparser/_metadata/name
new file mode 100644
index 000000000..ef43407c4
--- /dev/null
+++ b/homebrew/uriparser/_metadata/name
@@ -0,0 +1 @@
+Uriparser
diff --git a/homebrew/uriparser/_metadata/version b/homebrew/uriparser/_metadata/version
new file mode 100644
index 000000000..f374f6662
--- /dev/null
+++ b/homebrew/uriparser/_metadata/version
@@ -0,0 +1 @@
+0.9.1
diff --git a/homebrew/uriparser/download.sh b/homebrew/uriparser/download.sh
new file mode 100755
index 000000000..c17f12c4c
--- /dev/null
+++ b/homebrew/uriparser/download.sh
@@ -0,0 +1 @@
+wget https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.1/uriparser-0.9.1.tar.bz2 \ No newline at end of file