blob: 132bba8362f8ea171a8b715187e0db3b69142d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
require 'formula'
class Vcprompt < Formula
homepage 'https://bitbucket.org/gward/vcprompt'
url 'https://bitbucket.org/gward/vcprompt/downloads/vcprompt-1.2.1.tar.gz'
sha1 'fb623e6183b8e5ccbbe5cf7d135a04e727c9b402'
bottle do
cellar :any
sha1 "609b05ec156a7b5b154150800dfefd1adcbef0df" => :mavericks
sha1 "b20758412be3d8abc8d99a055f34da5c94861280" => :mountain_lion
sha1 "f7618134adfd9bd57011eabd66278f8c8918fca0" => :lion
end
head do
url 'https://bitbucket.org/gward/vcprompt', :using => :hg
depends_on "autoconf" => :build
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
|