aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/qjson.rb
diff options
context:
space:
mode:
authorRuss Garrett2010-02-05 18:19:53 +0000
committerDavid Höppner2010-02-05 21:04:05 +0100
commitea23fec1e0deb65b457aedea401948ed4360860a (patch)
tree9f2a2df14cb29138815202efa43b77d747ea60b2 /Library/Formula/qjson.rb
parent1db62327105adc3c3c128c6801518d78239f5725 (diff)
downloadhomebrew-ea23fec1e0deb65b457aedea401948ed4360860a.tar.bz2
New formula: qjson
Signed-off-by: David Höppner <0xffea@gmail.com> * remove version by using other url * add qt deps
Diffstat (limited to 'Library/Formula/qjson.rb')
-rw-r--r--Library/Formula/qjson.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/qjson.rb b/Library/Formula/qjson.rb
new file mode 100644
index 000000000..31829e5b5
--- /dev/null
+++ b/Library/Formula/qjson.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Qjson <Formula
+ url 'http://downloads.sourceforge.net/project/qjson/qjson/0.7.1/qjson-0.7.1.tar.bz2'
+ homepage 'http://qjson.sourceforge.net'
+ md5 '5a833ad606c164ed8aa69f0873366ace'
+
+ depends_on 'cmake'
+ depends_on 'qt'
+
+ def install
+ system "cmake . #{std_cmake_parameters}"
+ system "make install"
+ end
+end