homebrew-core/Formula/atool.rb

17 lines
423 B
Ruby
Raw Normal View History

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'
homepage 'http://www.nongnu.org/atool/'
2012-02-09 06:03:59 +00:00
md5 'bf05a07f7b35415d146b2e21edc1ebbf'
depends_on "gnu-sed"
def install
2012-02-09 06:03:59 +00:00
system "./configure", "--prefix=#{prefix}"
# OS X sed doesn't work; use GNU sed
inreplace 'Makefile', 'sed -r', '#{HOMEBREW_PREFIX}/bin/gsed'
system "make install"
end
end