61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
15 lines
382 B
Ruby
15 lines
382 B
Ruby
require 'formula'
|
|
|
|
class Libcddb <Formula
|
|
url 'http://prdownloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2'
|
|
md5 '8bb4a6f542197e8e9648ae597cd6bc8a'
|
|
homepage 'http://libcddb.sourceforge.net/'
|
|
|
|
depends_on 'pkg-config'
|
|
depends_on 'libcdio'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|