diff options
| -rw-r--r-- | Library/Formula/duti.rb | 16 |
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 |
