2011-03-10 05:11:03 +00:00
|
|
|
class Edelta < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "XDelta-style binary differ"
|
2015-03-16 00:13:15 +00:00
|
|
|
homepage "http://www.diku.dk/hjemmesider/ansatte/jacobg/edelta/"
|
|
|
|
url "http://www.diku.dk/hjemmesider/ansatte/jacobg/edelta/edelta-0.10b.tar.gz"
|
|
|
|
sha256 "86d60b8726d37d5486b0d8030492a99b2f4ce1266ad50a99edb07ee6d529815e"
|
2010-09-25 14:12:02 +00:00
|
|
|
|
2015-03-16 18:46:03 +00:00
|
|
|
bottle do
|
2016-04-09 09:41:50 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "7c890297f4a4f314e88076aebc631b65eed230ab41279e7c96e0166738bad435" => :el_capitan
|
2015-03-16 18:46:03 +00:00
|
|
|
sha256 "899ebc5dcf01081e885bef90c53ea6ccf9763562b8fc9e778dd4cac9d2ee4c83" => :yosemite
|
|
|
|
sha256 "cb69b6278bf6ffe5430d33718db74cc35ea7982e48775c1d9723f514a6fc6e82" => :mavericks
|
|
|
|
sha256 "e266224b0d63f429b0009564ecd74d51733434a3fc4f6509141157340682bdc0" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-09-25 14:12:02 +00:00
|
|
|
def install
|
2012-02-13 04:15:51 +00:00
|
|
|
system "make", "CFLAGS=#{ENV.cflags}"
|
2015-03-16 00:13:15 +00:00
|
|
|
bin.install "edelta"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
(testpath/"test1").write "foo"
|
|
|
|
(testpath/"test2").write "bar"
|
|
|
|
|
|
|
|
system "#{bin}/edelta", "delta", "test1", "test2"
|
2010-09-25 14:12:02 +00:00
|
|
|
end
|
|
|
|
end
|