tup: import from homebrew/fuse.

This commit is contained in:
Mike McQuaid 2017-03-19 20:34:20 +02:00
parent 45acb8c25e
commit 243024da5f

23
Formula/tup.rb Normal file
View file

@ -0,0 +1,23 @@
class Tup < Formula
desc "File-based build system"
homepage "http://gittup.org/tup/"
url "https://github.com/gittup/tup/archive/v0.7.5.tar.gz"
sha256 "361b3e069308ce1d9505d1cb927999ac448811a3425c724123e0c48602a9d1e4"
head "https://github.com/gittup/tup.git"
depends_on "pkg-config" => :build
depends_on :osxfuse
def install
ENV["TUP_LABEL"] = version
system "./build.sh"
bin.install "build/tup"
man1.install "tup.1"
doc.install (buildpath/"docs").children
pkgshare.install "contrib/syntax"
end
test do
system "#{bin}/tup", "-v"
end
end