2011-09-14 21:34:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tup < Formula
|
|
|
|
homepage 'http://gittup.org/tup/'
|
2014-04-03 15:17:53 +00:00
|
|
|
url 'https://github.com/gittup/tup/archive/v0.7.2.tar.gz'
|
|
|
|
sha1 'c0b14a9b7a59c6295ed7339883b21d0f1a8163b3'
|
2011-09-14 21:34:41 +00:00
|
|
|
head 'https://github.com/gittup/tup.git'
|
|
|
|
|
2014-04-03 16:24:32 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "ea07e07027a25f92959c07844a34e24a62c1929e" => :mavericks
|
|
|
|
sha1 "c7ff37eec01fc7e5049cd5da450b88554f46f2b1" => :mountain_lion
|
|
|
|
sha1 "98255d59e38f854319a60091037fa0f605bcde1f" => :lion
|
|
|
|
end
|
|
|
|
|
2011-09-14 21:34:41 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-10-30 20:39:07 +00:00
|
|
|
depends_on 'osxfuse'
|
2011-09-14 21:34:41 +00:00
|
|
|
|
|
|
|
def install
|
2012-03-23 20:50:49 +00:00
|
|
|
ENV['TUP_LABEL'] = version
|
|
|
|
system "./build.sh"
|
|
|
|
bin.install 'build/tup'
|
2011-09-14 21:34:41 +00:00
|
|
|
man1.install 'tup.1'
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/tup", "-v"
|
2012-03-23 20:50:49 +00:00
|
|
|
end
|
2011-09-14 21:34:41 +00:00
|
|
|
end
|