homebrew-core/Formula/aria2.rb
Rogério Brito bbd0c8bcfb aria2: Use a newer version of libxml2 on Leopard
Closes Homebrew/homebrew#10940.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-14 17:03:52 -07:00

18 lines
491 B
Ruby

require 'formula'
class Aria2 < Formula
homepage 'http://aria2.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/aria2/stable/aria2-1.14.2/aria2-1.14.2.tar.bz2'
md5 '19b1a9f83a09c6ef5c7ab87e4e0f7974'
depends_on 'pkg-config' => :build
# Leopard's libxml2 is too old.
depends_on 'libxml2' if MacOS.leopard?
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end