aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/uriparser.rb
diff options
context:
space:
mode:
authorDavid Höppner2010-08-30 16:45:52 +0200
committerDavid Höppner2010-08-30 16:45:52 +0200
commit087db590d3209efbdf1c9cc4834f162fd651a35a (patch)
tree7250510376781eafce9ff511d584b9be9c70e9c6 /Library/Formula/uriparser.rb
parent9d9aa3cfb94c11d376c2aa5bf65f9ae42359e563 (diff)
downloadhomebrew-087db590d3209efbdf1c9cc4834f162fd651a35a.tar.bz2
New formula uriparser
uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C. uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license.
Diffstat (limited to 'Library/Formula/uriparser.rb')
-rw-r--r--Library/Formula/uriparser.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/uriparser.rb b/Library/Formula/uriparser.rb
new file mode 100644
index 000000000..768ffc214
--- /dev/null
+++ b/Library/Formula/uriparser.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Uriparser <Formula
+ url 'http://downloads.sourceforge.net/project/uriparser/Sources/0.7.5/uriparser-0.7.5.tar.gz'
+ homepage 'http://uriparser.sourceforge.net/'
+ md5 '459c2786758929b92bfbd0cee25b5aa0'
+
+ depends_on 'cpptest'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "--disable-doc"
+ system "make check"
+ system "make install"
+ end
+end