homebrew-core/Formula/duti.rb

21 lines
453 B
Ruby
Raw Normal View History

require 'formula'
class Duti < Formula
homepage 'http://duti.org/'
head 'https://github.com/fitterhappier/duti.git'
2013-11-17 06:54:22 +00:00
url 'https://github.com/fitterhappier/duti/archive/duti-1.5.2.tar.gz'
sha1 'c36fcf3b9f48184263456862dfe317d8b1109d6b'
2013-11-17 06:54:22 +00:00
depends_on :autoconf
def install
2013-11-17 06:54:22 +00:00
system "autoreconf", "-vfi"
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/duti", "-x", "txt"
end
end