homebrew-core/Formula/dash.rb

21 lines
561 B
Ruby
Raw Normal View History

2009-12-29 12:41:25 +00:00
require 'formula'
class Dash <Formula
2010-11-08 01:40:57 +00:00
url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.6.1.tar.gz'
homepage 'http://gondor.apana.org.au/~herbert/dash/'
2010-11-08 01:40:57 +00:00
sha1 '06944456a1e3a2cbc325bffd0c898eff198b210a'
head 'https://git.kernel.org/pub/scm/utils/dash/dash.git', :using => :git
2009-12-29 12:41:25 +00:00
def install
if ARGV.build_head?
system "aclocal"
system "autoreconf -f -i -Wall,no-obsolete"
end
system "./configure", "--prefix=#{prefix}",
"--with-libedit"
2009-12-29 12:41:25 +00:00
system "make"
system "make install"
end
end