tup: import from homebrew/fuse.
This commit is contained in:
parent
45acb8c25e
commit
243024da5f
1 changed files with 23 additions and 0 deletions
23
Formula/tup.rb
Normal file
23
Formula/tup.rb
Normal 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
|
Loading…
Reference in a new issue