2011-08-30 15:33:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Net6 < Formula
|
|
|
|
homepage 'http://gobby.0x539.de'
|
2012-07-31 21:43:30 +00:00
|
|
|
url 'http://releases.0x539.de/net6/net6-1.3.14.tar.gz'
|
|
|
|
sha1 '7523a604e6b7f723cdd7f457f8f7c8c9cf48dae1'
|
2014-03-06 03:54:59 +00:00
|
|
|
revision 1
|
2012-04-28 22:05:14 +00:00
|
|
|
|
2011-08-30 15:33:50 +00:00
|
|
|
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
|