homebrew-core/Formula/libcdio.rb
2017-12-11 06:21:30 -08:00

26 lines
945 B
Ruby

class Libcdio < Formula
desc "Compact Disc Input and Control Library"
homepage "https://www.gnu.org/software/libcdio/"
url "https://ftp.gnu.org/gnu/libcdio/libcdio-1.1.0.tar.gz"
mirror "https://ftpmirror.gnu.org/libcdio/libcdio-1.1.0.tar.gz"
sha256 "785c32494e4770c38bef09b1a545ef3acec8ccfbf2b799cb7e70dc380cbcf164"
bottle do
cellar :any
sha256 "0d55434bb20a118b144413e1d20c36433c12f8e3243994cf011f15d6648a7157" => :high_sierra
sha256 "d3cef83b0df1de2d41f1b52a0aaf3ac13a7c5e9629a327fd4cf1210fffa99466" => :sierra
sha256 "a950c4704df57215a64a64bb0168f74afd75826998917cfb2cf77988cf9e1208" => :el_capitan
end
depends_on "pkg-config" => :build
def install
system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match /#{version}/, shell_output("#{bin}/cd-info -v", 1)
end
end