homebrew-core/Formula/vcprompt.rb
Chad Catlett dd2a9a5088 vcprompt 1.2
Closes Homebrew/homebrew#24914.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-03 23:06:32 -08:00

29 lines
657 B
Ruby

require 'formula'
class Vcprompt < Formula
homepage 'https://bitbucket.org/gward/vcprompt'
url 'https://bitbucket.org/gward/vcprompt/downloads/vcprompt-1.2.tar.gz'
sha1 '5e46cc8525f823ecd66c624903f15f5c50276290'
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"
end
test do
system "#{bin}/vcprompt"
end
end