homebrew-core/Formula/libtorrent.rb

17 lines
468 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libtorrent < Formula
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
homepage 'http://libtorrent.rakshasa.no/'
md5 'b128bbd324f03eb42ef5060080f87548'
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