61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
369 B
Ruby
12 lines
369 B
Ruby
require 'formula'
|
|
|
|
class Aria2 <Formula
|
|
@url='http://kent.dl.sourceforge.net/project/aria2/stable/aria2-1.5.2/aria2-1.5.2.tar.bz2'
|
|
@homepage='http://aria2.sourceforge.net/'
|
|
@md5='13ffefebdc4df4956721801fe74e01df'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|