homebrew-core/Formula/xdelta.rb
2019-10-10 23:17:10 +02:00

36 lines
1.3 KiB
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 "5b5eae08cf9d1d5e37dc42f0d557670477bae10adf28278bbb4f88ec83a5a2c3" => :catalina
sha256 "29a63934406537a96b023609a87998574d41943ed2cfe816b3febc24b7cc7db1" => :mojave
sha256 "a65a726ce73eeebb9abfdf8069b08658dc4fad13527d4d162d1119cc32702b11" => :high_sierra
sha256 "7f51b76d06a6ac8aae36c10b41776a374d5fafa6b55c4908a885be7a88194676" => :sierra
sha256 "e07f928aadf6a9d8beb8a19fb72cb673cf0ae13c339ccd75c5df134cb3bc5c09" => :el_capitan
sha256 "2581a9d0aabf6f6b34d35aae4d7ab07b6aaebdb70fd3b00ef14eff3bd96aa6c7" => :yosemite
sha256 "a0801a8bd9796d03d8c031905e28a6e5f50b155da3102337070ec787ccb5cee9" => :mavericks
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "xz"
def install
cd "xdelta3" do
system "autoreconf", "--install"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-liblzma"
system "make", "install"
end
end
test do
system bin/"xdelta3", "config"
end
end