net6 1.3.12

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Marnen Laibow-Koser 2011-08-30 11:33:50 -04:00 committed by Adam Vandenberg
parent da164bfcf5
commit 803843f3d8
1 changed files with 20 additions and 0 deletions

20
Formula/net6.rb Normal file
View File

@ -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