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.
14 lines
No EOL
372 B
Ruby
14 lines
No EOL
372 B
Ruby
require 'formula'
|
|
|
|
class Libvorbis <Formula
|
|
@url='http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.bz2'
|
|
@md5='67beb237faf97d74782ec7071756b2b6'
|
|
@homepage='http://vorbis.com'
|
|
|
|
depends_on 'libogg'
|
|
|
|
def install
|
|
system "./configure --enable-docs --disable-debug --disable-dependency-tracking --prefix='#{prefix}'"
|
|
system "make install"
|
|
end
|
|
end |