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.
12 lines
342 B
Ruby
12 lines
342 B
Ruby
require 'formula'
|
|
|
|
class Libcdio <Formula
|
|
url 'http://ftp.gnu.org/gnu/libcdio/libcdio-0.81.tar.gz'
|
|
md5 '2ad1622b672ccf53a3444a0c55724d38'
|
|
homepage 'http://www.gnu.org/software/libcdio/'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|