blob: fdd8dcee2576505bbe07002adafdeff079f392b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require 'formula'
class Libtorrent < Formula
homepage 'http://libtorrent.rakshasa.no/'
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
md5 'b128bbd324f03eb42ef5060080f87548'
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
# Upstream says this is fixed in 0.13.x series, so check if this is
# still needed when the next stable libtorrent release is made.
fails_with :clang do
build 318
end
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--with-kqueue",
"--enable-ipv6"
system "make"
system "make install"
end
end
|