homebrew-core/Formula/pkgdiff.rb

32 lines
1.6 KiB
Ruby

class Pkgdiff < Formula
desc "Tool for analyzing changes in software packages (e.g. RPM, DEB, TAR.GZ)"
homepage "https://lvc.github.io/pkgdiff/"
url "https://github.com/lvc/pkgdiff/archive/1.7.2.tar.gz"
sha256 "d0ef5c8ef04f019f00c3278d988350201becfbe40d04b734defd5789eaa0d321"
license "GPL-2.0"
bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "755e973c94a0c0e61c66ac3c8a1dc039da0b664f6e8044b046bb6f2d12731dc8"
sha256 cellar: :any_skip_relocation, big_sur: "ca39733fa4a34ae0a74b15393c7a38db5247adaacd1790c435dad7e28bb8b7a8"
sha256 cellar: :any_skip_relocation, catalina: "cd5fb92603b642be4817bda4d829389cb6dfe040fddda33d2897aba8c04dd9d1"
sha256 cellar: :any_skip_relocation, mojave: "8de5a84d08a9bc063313a7319be93cbaba8b4e293e2604552e2771d9f9c93d81"
sha256 cellar: :any_skip_relocation, high_sierra: "28ed130d50f00ec5617be39a8bc627591d310d47e8023844b54f27fbf0daede8"
sha256 cellar: :any_skip_relocation, sierra: "fc92f55909e0499c1d0054100183567465603ac85fa9f8b20d5ab1d84e36ceae"
sha256 cellar: :any_skip_relocation, el_capitan: "18895054433b4b050c3a863306c62a910be7fa4e36b0020a742c5c7541c0df65"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1b6dfddc360e2756ff78483c44796a5b55e84c8ec6b5666615baf29e9f1db891"
sha256 cellar: :any_skip_relocation, all: "1b6dfddc360e2756ff78483c44796a5b55e84c8ec6b5666615baf29e9f1db891"
end
depends_on "binutils"
depends_on "gawk"
depends_on "wdiff"
def install
system "perl", "Makefile.pl", "--install", "--prefix=#{prefix}"
end
test do
system bin/"pkgdiff"
end
end