ee9bd135e3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
616 B
Ruby
18 lines
616 B
Ruby
require 'formula'
|
|
|
|
class LibtorrentRasterbar < Formula
|
|
homepage 'http://www.rasterbar.com/products/libtorrent/'
|
|
url 'https://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.16.12.tar.gz'
|
|
sha1 'cd326fd2609c3d00c25dabdd441a0704efbf0207'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'boost'
|
|
depends_on 'openssl' if MacOS.version <= :snow_leopard # Needs a newer version of OpenSSL on Snow Leopard
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|