rtorrent - add xmlrpc-c support
This commit is contained in:
parent
963ece0d30
commit
e056b9c178
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue