homebrew-core/Formula/atool.rb
Rémi Prévost bd861ecab5 atool 0.37.0
atool is a script for managing file archives of various types (tar,
tar+gzip, zip etc).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-01 21:04:52 -07:00

16 lines
474 B
Ruby

require 'formula'
class Atool <Formula
url 'http://savannah.nongnu.org/download/atool/atool-0.37.0.tar.gz'
homepage 'http://www.nongnu.org/atool/'
md5 '2607e9b19518af4145be8a6bed454477'
depends_on "gnu-sed"
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
# OS X sed doesn't work; use GNU sed
inreplace 'Makefile', 'sed -r', '#{HOMEBREW_PREFIX}/bin/gsed'
system "make install"
end
end