aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChad Catlett2013-12-03 15:00:17 -0600
committerAdam Vandenberg2013-12-03 23:06:32 -0800
commit49fd982b4657bc3c03cf89ba0db4b7716c7591d0 (patch)
tree0bf4fdb8dac3dac46845d486e1aacb44f086018a /Library
parente292683b2f981297d53010b7e4544c28261a17dc (diff)
downloadhomebrew-49fd982b4657bc3c03cf89ba0db4b7716c7591d0.tar.bz2
vcprompt 1.2
Closes #24914. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vcprompt.rb16
1 files changed, 13 insertions, 3 deletions
diff --git a/Library/Formula/vcprompt.rb b/Library/Formula/vcprompt.rb
index 35fe51c91..4f914a0a3 100644
--- a/Library/Formula/vcprompt.rb
+++ b/Library/Formula/vcprompt.rb
@@ -2,12 +2,22 @@ require 'formula'
class Vcprompt < Formula
homepage 'https://bitbucket.org/gward/vcprompt'
- url 'https://bitbucket.org/gward/vcprompt/downloads/vcprompt-1.1.tar.gz'
- sha1 '6982e3ecc0c677546da1e067984c0e25c3f9261c'
+ url 'https://bitbucket.org/gward/vcprompt/downloads/vcprompt-1.2.tar.gz'
+ sha1 '5e46cc8525f823ecd66c624903f15f5c50276290'
- head 'hg://https://bitbucket.org/gward/vcprompt'
+ head do
+ url 'hg://https://bitbucket.org/gward/vcprompt'
+ depends_on :autoconf
+ end
+
+ depends_on 'sqlite'
def install
+ system "autoconf" if build.head?
+
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+
system "make", "PREFIX=#{prefix}",
"MANDIR=#{man1}",
"install"