2009-10-15 02:35:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libtorrent < Formula
|
2011-07-30 17:37:34 +00:00
|
|
|
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
|
2009-10-15 02:35:31 +00:00
|
|
|
homepage 'http://libtorrent.rakshasa.no/'
|
2011-07-30 17:37:34 +00:00
|
|
|
md5 'b128bbd324f03eb42ef5060080f87548'
|
2009-10-15 02:35:31 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-10-15 02:35:31 +00:00
|
|
|
depends_on 'libsigc++'
|
|
|
|
|
|
|
|
def install
|
2011-02-16 22:21:01 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-kqueue", "--enable-ipv6"
|
2009-10-15 02:35:31 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|