homebrew-core/Formula/libtorrent.rb
Simon Lundström af43dd2be3 libtorrent - enable kqueue and IPv6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-17 15:34:54 -08:00

16 lines
467 B
Ruby

require 'formula'
class Libtorrent <Formula
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz'
homepage 'http://libtorrent.rakshasa.no/'
md5 '037499ed708aaf72988cee60e5a8d96b'
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-kqueue", "--enable-ipv6"
system "make"
system "make install"
end
end