2010-02-22 11:47:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Atool < Formula
|
2010-02-22 11:47:56 +00:00
|
|
|
homepage 'http://www.nongnu.org/atool/'
|
2012-05-31 14:34:00 +00:00
|
|
|
url 'http://savannah.nongnu.org/download/atool/atool-0.39.0.tar.gz'
|
|
|
|
md5 'e0aa006decbc6484b9dba2879f1bb9f0'
|
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
|