Permalink
Browse files

Add compleat formula

  • Loading branch information...
1 parent 89b45c2 commit 111b23a6b71f1513000e1f1b927e28cc435ac8e8 @mistydemeo committed Dec 21, 2012
Showing with 19 additions and 0 deletions.
  1. +5 −0 README.md
  2. +14 −0 compleat.rb
View
@@ -36,3 +36,8 @@ devices.
This formula is just an installer for the binaries from the Argyll site
as a convenience, and has been minimally tested so far.
+
+[compleat](http://limpet.net/mbrubeck/2009/10/30/compleat.html)
+--------
+
+Completion-writing tool for bash and zsh.
View
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Compleat < Formula
+ homepage 'https://github.com/mbrubeck/compleat'
+ head 'https://github.com/mbrubeck/compleat.git'
+
+ depends_on 'haskell-platform'
+
+ def install
+ system "./Setup.lhs", "configure", "--prefix=#{prefix}"
+ system "./Setup.lhs", "build"
+ system "./Setup.lhs", "install"
+ end
+end

0 comments on commit 111b23a

Please sign in to comment.