2014-02-12 12:48:05 +00:00
|
|
|
class Ddar < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "De-duplicating archiver"
|
2016-02-02 06:03:15 +00:00
|
|
|
homepage "https://github.com/basak/ddar"
|
2014-02-12 12:48:05 +00:00
|
|
|
url "https://github.com/basak/ddar/archive/v1.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "b95a11f73aa872a75a6c2cb29d91b542233afa73a8eb00e8826633b8323c9b22"
|
2014-09-20 05:03:19 +00:00
|
|
|
revision 1
|
|
|
|
|
2014-02-12 12:48:05 +00:00
|
|
|
head "https://github.com/basak/ddar.git"
|
|
|
|
|
2016-04-09 19:53:24 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "c22e97818c72ef55b1e7b24c3f56c80e3b6a8ec93598d60de3164e38bbb3d8bc" => :el_capitan
|
|
|
|
sha256 "a23f1ac95b2c9ba9fd4321144bb4d58bfd65310de2a7172ea113d74813a276b1" => :yosemite
|
|
|
|
sha256 "1903942f0c585ea54ad25eabc045d73dc499e99ba20b8bdd240e99e2dda326a6" => :mavericks
|
|
|
|
end
|
|
|
|
|
2014-02-12 12:48:05 +00:00
|
|
|
depends_on "xmltoman" => :build
|
2014-06-17 13:10:22 +00:00
|
|
|
depends_on :python if MacOS.version <= :snow_leopard
|
2016-02-02 06:03:15 +00:00
|
|
|
depends_on "protobuf"
|
2014-02-12 12:48:05 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "-f", "Makefile.prep", "pydist"
|
|
|
|
system "python", "setup.py", "install",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--single-version-externally-managed",
|
|
|
|
"--record=installed.txt"
|
|
|
|
|
2014-02-19 21:53:18 +00:00
|
|
|
bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"])
|
2014-02-12 12:48:05 +00:00
|
|
|
man1.install Dir["*.1"]
|
|
|
|
end
|
|
|
|
end
|