class Libcddb < Formula desc "CDDB server access library" homepage "http://libcddb.sourceforge.net/" url "https://downloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2" sha256 "35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b" revision 1 bottle do cellar :any rebuild 1 sha256 "c4b73bfef7e11943a5f7e67c889767de0d3c193989d0bc9e2193b4bc44936d75" => :sierra sha256 "0fe13c22feda7f666b36b671fc7648151872e18ab81f9a354a91bf58d1d2f4c1" => :el_capitan sha256 "df0e468bf540a6a17547a68f257b1322037b87beb42889970e1c24b3b564a22a" => :yosemite sha256 "8aabe8dff95e4df0fc4ad31371d9bad735b48e592aba072b10d935c71f65b0f4" => :mavericks sha256 "0937c3e65e3b0263e2148548bdb532a2541df0e16f0074bf70a9f994e5f9b9d1" => :mountain_lion end depends_on "pkg-config" => :build depends_on "libcdio" def install if MacOS.version == :yosemite && MacOS::Xcode.installed? && MacOS::Xcode.version >= "7.0" ENV.delete("SDKROOT") end system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end end