From 11f7674e829102f595a4ced96629973e6ed1ac6b Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 21 Aug 2012 09:24:40 +0200 Subject: duti 1.5.1 Closes #14330. Signed-off-by: Adam Vandenberg --- Library/Formula/duti.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/duti.rb (limited to 'Library') diff --git a/Library/Formula/duti.rb b/Library/Formula/duti.rb new file mode 100644 index 000000000..62a4f4e94 --- /dev/null +++ b/Library/Formula/duti.rb @@ -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 -- cgit v1.2.3