homebrew-core/Formula/libcdio.rb
2016-10-23 02:51:08 -07:00

29 lines
1.1 KiB
Ruby

class Libcdio < Formula
desc "Compact Disc Input and Control Library"
homepage "https://www.gnu.org/software/libcdio/"
url "https://ftpmirror.gnu.org/libcdio/libcdio-0.94.tar.gz"
mirror "https://ftp.gnu.org/gnu/libcdio/libcdio-0.94.tar.gz"
sha256 "96e2c903f866ae96f9f5b9048fa32db0921464a2286f5b586c0f02699710025a"
bottle do
cellar :any
rebuild 1
sha256 "20caf160dca9b382d4f0a0878dbfe00a62868b4ac548730b6a683586fa90e1d6" => :sierra
sha256 "e927060058a85e913d7b1d647947982d52d208d5c4ef8471be532ae58db61d0b" => :el_capitan
sha256 "a75b52450488b5a058aaf6089d731937b3e0cdf643dac6d4ea187c8e0ea8de0b" => :yosemite
sha256 "b70aafbcf1389b6c40bcce0fe9874acc3ae02ca67a4f0652f46484a46517c900" => :mavericks
sha256 "5e4dfbdb57def1e77e9327526eb92abe795da59284c6a348e542e55a9bcd8eb4" => :mountain_lion
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