diff options
| author | Adam Vandenberg | 2010-05-12 22:20:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-12 22:20:50 -0700 |
| commit | 84b3aa8ee8ed2c42e635b1c73e9fb28ae9b67acf (patch) | |
| tree | 796e1ed3b657eb725b263124eaad18bd9136ba6d /Library/Formula | |
| parent | 2d5407fae927e1cfe2f8402e5f3b52701689cd98 (diff) | |
| download | homebrew-84b3aa8ee8ed2c42e635b1c73e9fb28ae9b67acf.tar.bz2 | |
rtorrent - add xmlrpc-c support
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rtorrent.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/rtorrent.rb b/Library/Formula/rtorrent.rb index 6a9badb47..f5daca228 100644 --- a/Library/Formula/rtorrent.rb +++ b/Library/Formula/rtorrent.rb @@ -8,9 +8,12 @@ class Rtorrent <Formula depends_on 'pkg-config' depends_on 'libsigc++' depends_on 'libtorrent' + depends_on 'xmlrpc-c' => :optional def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] + args << "--with-xmlrpc-c" if Formula.factory("xmlrpc-c").installed? + system "./configure", *args system "make" system "make install" end |
