2011-08-15 00:48:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Avra < Formula
|
|
|
|
url 'http://sourceforge.net/projects/avra/files/1.3.0/avra-1.3.0.tar.bz2'
|
|
|
|
homepage 'http://avra.sourceforge.net/'
|
|
|
|
md5 'd5d48369ceaa004c4ca09f61f69b2c84'
|
|
|
|
|
|
|
|
def install
|
|
|
|
# build fails if these don't exist
|
2011-10-18 17:01:52 +00:00
|
|
|
system "touch NEWS ChangeLog"
|
2011-08-15 00:48:31 +00:00
|
|
|
Dir.chdir "src" do
|
2011-10-18 17:01:52 +00:00
|
|
|
system "./bootstrap"
|
|
|
|
system "./configure --prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2011-08-15 00:48:31 +00:00
|
|
|
end
|
|
|
|
end
|