homebrew-core/Formula/avra.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

17 lines
425 B
Ruby

require 'formula'
class Avra < Formula
homepage 'http://avra.sourceforge.net/'
url 'http://sourceforge.net/projects/avra/files/1.3.0/avra-1.3.0.tar.bz2'
md5 'd5d48369ceaa004c4ca09f61f69b2c84'
def install
# build fails if these don't exist
system "touch NEWS ChangeLog"
cd "src" do
system "./bootstrap"
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end
end