2011-08-15 00:48:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Avra < Formula
|
|
|
|
homepage 'http://avra.sourceforge.net/'
|
2012-02-21 06:04:21 +00:00
|
|
|
url 'http://sourceforge.net/projects/avra/files/1.3.0/avra-1.3.0.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '7ad7d168b02107d4f2d72951155798c2fd87d5a9'
|
2011-08-15 00:48:31 +00:00
|
|
|
|
2012-08-28 17:49:58 +00:00
|
|
|
depends_on :automake
|
|
|
|
|
2011-08-15 00:48:31 +00:00
|
|
|
def install
|
|
|
|
# build fails if these don't exist
|
2011-10-18 17:01:52 +00:00
|
|
|
system "touch NEWS ChangeLog"
|
2012-02-21 06:04:21 +00:00
|
|
|
cd "src" do
|
2011-10-18 17:01:52 +00:00
|
|
|
system "./bootstrap"
|
2012-02-21 06:04:21 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2011-10-18 17:01:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-08-15 00:48:31 +00:00
|
|
|
end
|
|
|
|
end
|