homebrew-core/Formula/xdelta.rb
2016-07-28 17:44:35 +01:00

30 lines
933 B
Ruby

class Xdelta < Formula
desc "Binary diff, differential compression tools"
homepage "http://xdelta.org"
url "https://github.com/jmacd/xdelta/archive/v3.1.0.tar.gz"
sha256 "7515cf5378fca287a57f4e2fee1094aabc79569cfe60d91e06021a8fd7bae29d"
bottle do
cellar :any
sha256 "e07f928aadf6a9d8beb8a19fb72cb673cf0ae13c339ccd75c5df134cb3bc5c09" => :el_capitan
sha256 "2581a9d0aabf6f6b34d35aae4d7ab07b6aaebdb70fd3b00ef14eff3bd96aa6c7" => :yosemite
sha256 "a0801a8bd9796d03d8c031905e28a6e5f50b155da3102337070ec787ccb5cee9" => :mavericks
end
depends_on "libtool" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "xz"
def install
cd "xdelta3" do
system "autoreconf", "--install"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
end
test do
system bin/"xdelta3", "config"
end
end