duti 1.5.1

Closes Homebrew/homebrew#14330.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Mathias Bynens 2012-08-21 09:24:40 +02:00 committed by Adam Vandenberg
parent 210645ac1a
commit b63a130348

16
Formula/duti.rb Normal file
View file

@ -0,0 +1,16 @@
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