aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGregg Lind2013-03-04 09:26:17 -0600
committerJack Nagel2013-03-07 16:05:09 -0600
commitd9657e20cc2d1fef76a6948daaafc2963e603aaf (patch)
tree9bcf01b4ae9ab30eed43d3fc958c235bc5943ff1 /Library
parentdc950330d1bd7775604868d8412cea657bd74362 (diff)
downloadhomebrew-d9657e20cc2d1fef76a6948daaafc2963e603aaf.tar.bz2
vcprompt 1.0
Closes #18235. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vcprompt.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/vcprompt.rb b/Library/Formula/vcprompt.rb
new file mode 100644
index 000000000..730d2fa0f
--- /dev/null
+++ b/Library/Formula/vcprompt.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Vcprompt < Formula
+ homepage 'https://bitbucket.org/gward/vcprompt'
+ url 'https://bitbucket.org/gward/vcprompt/downloads/vcprompt-1.0.tar.gz'
+ sha1 'a393d06a3b6030a822af53c985b6a170265ee901'
+
+ head 'hg://https://bitbucket.org/gward/vcprompt'
+
+ def install
+ system "make", "PREFIX=#{prefix}",
+ "MANDIR=#{man1}",
+ "install"
+ end
+
+ test do
+ system "#{bin}/vcprompt"
+ end
+end