aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarnen Laibow-Koser2011-08-30 11:33:50 -0400
committerAdam Vandenberg2012-04-24 06:59:14 -0700
commit55a8e7d4c02180c74cd423a16932056e787a1ac7 (patch)
tree85d62426595569ac48a41a838366c44721af223b /Library
parentf2c66c3d1ba690b70e1e11022bcbde2e63557d19 (diff)
downloadhomebrew-55a8e7d4c02180c74cd423a16932056e787a1ac7.tar.bz2
net6 1.3.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/net6.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/net6.rb b/Library/Formula/net6.rb
new file mode 100644
index 000000000..270c66e92
--- /dev/null
+++ b/Library/Formula/net6.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Net6 < Formula
+ url 'http://releases.0x539.de/net6/net6-1.3.12.tar.gz'
+ homepage 'http://gobby.0x539.de'
+ md5 '506776416d8aea2b9ea13a81f9145383'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'gnutls'
+ depends_on 'libsigc++'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ cflags = `pkg-config --cflags net6-1.3.pc` # for some reason, won't pick up sigc++ otherwise
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "libnet6_CFLAGS=#{cflags}" # and now we need a second pass to properly set the includes...yuck!
+ system "make install"
+ end
+end