2014-02-12 12:48:05 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Ddar < Formula
|
|
|
|
homepage "http://www.synctus.com/ddar/"
|
|
|
|
url "https://github.com/basak/ddar/archive/v1.0.tar.gz"
|
|
|
|
sha1 "5f8b508f93031b1be217441b45fff27a6b630a49"
|
|
|
|
head "https://github.com/basak/ddar.git"
|
|
|
|
|
|
|
|
depends_on "xmltoman" => :build
|
|
|
|
depends_on :python
|
|
|
|
depends_on "protobuf" => "with-python"
|
|
|
|
|
|
|
|
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
|