homebrew-core/Formula/fossil.rb

32 lines
876 B
Ruby
Raw Normal View History

2014-12-06 18:24:57 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Fossil < Formula
2014-12-06 18:24:57 +00:00
homepage "http://www.fossil-scm.org/"
2014-12-18 18:06:05 +00:00
head "http://www.fossil-scm.org/", :using => :fossil
2014-12-06 18:24:57 +00:00
url "http://www.fossil-scm.org/download/fossil-src-20140612172556.tar.gz"
sha1 "173c3350ba39ecfee6e660f866b4f3104e351b33"
version "1.29"
bottle do
2014-12-06 18:33:03 +00:00
cellar :any
sha1 "977cde0938a0b751938aaac28cab1fe7ef479e9b" => :yosemite
sha1 "f45d99ad80bdda2852a8dcb9e1292b5117d0ae56" => :mavericks
sha1 "b00e434097adba303767426916654da1f17d7f39" => :mountain_lion
end
2014-12-06 18:24:57 +00:00
option "without-json", "Build without 'json' command support"
option "without-tcl", "Build without the tcl-th1 command bridge"
depends_on "openssl"
def install
args = []
2014-12-06 18:24:57 +00:00
args << "--json" if build.with? "json"
args << "--with-tcl" if build.with? "tcl"
system "./configure", *args
system "make"
2014-12-06 18:24:57 +00:00
bin.install "fossil"
end
end