aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/igraph.rb
diff options
context:
space:
mode:
authorTamas2010-07-23 14:53:01 +0100
committerAdam Vandenberg2010-07-25 12:11:08 -0700
commit09e27084d05c25c5d205a4329eeafdfbbc66d2f6 (patch)
tree73c74ce4298965fcf960c4bd97cbf8459c63f778 /Library/Formula/igraph.rb
parent65b105190068eb31c612f823c5deb0661d43159d (diff)
downloadhomebrew-09e27084d05c25c5d205a4329eeafdfbbc66d2f6.tar.bz2
New formula: igraph
Formula for igraph 0.5.3 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/igraph.rb')
-rw-r--r--Library/Formula/igraph.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/igraph.rb b/Library/Formula/igraph.rb
new file mode 100644
index 000000000..c175d293d
--- /dev/null
+++ b/Library/Formula/igraph.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Igraph <Formula
+ url 'http://switch.dl.sourceforge.net/sourceforge/igraph/igraph-0.5.3.tar.gz'
+ homepage 'http://igraph.sourceforge.net'
+ md5 '0b5437a387a1c91985b99656f877edcd'
+
+ depends_on 'glpk'
+ depends_on 'gmp'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end