homebrew-core/Formula/aria2.rb

20 lines
533 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Aria2 < Formula
2010-02-11 22:50:16 +00:00
homepage 'http://aria2.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/aria2/stable/aria2-1.16.3/aria2-1.16.3.tar.bz2'
sha1 'b167ebe325d05a5acd37dcc59300c4f46bfdd42d'
2012-03-06 05:47:22 +00:00
depends_on 'pkg-config' => :build
depends_on 'gnutls'
# Leopard's libxml2 is too old.
depends_on 'libxml2' if MacOS.version == :leopard
def install
2010-06-05 15:34:45 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end