aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMathias Bynens2012-08-21 09:24:40 +0200
committerAdam Vandenberg2012-08-31 19:27:13 -0700
commit11f7674e829102f595a4ced96629973e6ed1ac6b (patch)
treee74e3a1dd2f23f39bc0a9a7e4d8b0079dd6afbfe /Library
parent801611d18dc956a5b30aba25a9d908777a6e593a (diff)
downloadhomebrew-11f7674e829102f595a4ced96629973e6ed1ac6b.tar.bz2
duti 1.5.1
Closes #14330. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/duti.rb16
1 files changed, 16 insertions, 0 deletions
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