homebrew-core/Formula/duti.rb

17 lines
374 B
Ruby
Raw Normal View History

require 'formula'
class Duti < Formula
homepage 'http://duti.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/duti/duti/duti-1.5.1/duti-1.5.1.tar.gz'
sha1 'ac199f936180a3ac62100ae9a31e107a45330557'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/duti", "-x", "txt"
end
end