2010-02-22 11:47:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Atool < Formula
|
2012-02-09 06:03:59 +00:00
|
|
|
url 'http://savannah.nongnu.org/download/atool/atool-0.38.0.tar.gz'
|
2010-02-22 11:47:56 +00:00
|
|
|
homepage 'http://www.nongnu.org/atool/'
|
2012-02-09 06:03:59 +00:00
|
|
|
md5 'bf05a07f7b35415d146b2e21edc1ebbf'
|
2010-02-22 11:47:56 +00:00
|
|
|
|
|
|
|
depends_on "gnu-sed"
|
|
|
|
|
|
|
|
def install
|
2012-02-09 06:03:59 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-02-22 11:47:56 +00:00
|
|
|
# OS X sed doesn't work; use GNU sed
|
|
|
|
inreplace 'Makefile', 'sed -r', '#{HOMEBREW_PREFIX}/bin/gsed'
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|