2011-03-10 05:11:03 +00:00
|
|
|
class Libcdio < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Compact Disc Input and Control Library"
|
2015-07-10 20:54:51 +00:00
|
|
|
homepage "https://www.gnu.org/software/libcdio/"
|
2014-10-27 02:16:36 +00:00
|
|
|
url "http://ftpmirror.gnu.org/libcdio/libcdio-0.93.tar.gz"
|
2015-07-19 00:57:47 +00:00
|
|
|
mirror "https://ftp.gnu.org/gnu/libcdio/libcdio-0.93.tar.gz"
|
|
|
|
sha256 "4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975"
|
2009-10-09 17:54:23 +00:00
|
|
|
|
2014-07-03 17:36:38 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-07-19 02:47:56 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "a75b52450488b5a058aaf6089d731937b3e0cdf643dac6d4ea187c8e0ea8de0b" => :yosemite
|
|
|
|
sha256 "b70aafbcf1389b6c40bcce0fe9874acc3ae02ca67a4f0652f46484a46517c900" => :mavericks
|
|
|
|
sha256 "5e4dfbdb57def1e77e9327526eb92abe795da59284c6a348e542e55a9bcd8eb4" => :mountain_lion
|
2014-07-03 17:36:38 +00:00
|
|
|
end
|
|
|
|
|
2014-10-27 02:16:36 +00:00
|
|
|
depends_on "pkg-config" => :build
|
2011-03-22 18:17:30 +00:00
|
|
|
|
2009-10-09 17:54:23 +00:00
|
|
|
def install
|
2015-07-19 00:57:47 +00:00
|
|
|
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)
|
2009-10-09 17:54:23 +00:00
|
|
|
end
|
|
|
|
end
|