blob: 52092e1994b989e3e7b378e2413cce93c43c4dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Fossil < Formula
homepage 'http://www.fossil-scm.org/'
head 'fossil://http://www.fossil-scm.org/'
url 'http://www.fossil-scm.org/download/fossil-src-20130911114349.tar.gz'
sha1 '2e2149fff30d63a1869ecb5a7d6b17996477612a'
version '1.27'
option 'without-json', 'Build without "json" command support.'
option 'without-tcl', "Build without the tcl-th1 command bridge."
def install
args = []
args << "--json" if build.with? 'json'
args << "--with-tcl" if build.with? 'tcl'
system "./configure", *args
system "make"
bin.install 'fossil'
end
end
|