homebrew-core/Formula/vorbis-tools.rb
Kieran Pilkington 779a6f5fd0 Fixing vorbis-tools formula
The ogg and vorbis formulas didn't exist (libogg, libvorbis do though).
2009-09-29 16:26:37 +01:00

19 lines
No EOL
558 B
Ruby

require 'brewkit'
class VorbisTools <Formula
@url='http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.2.0.tar.gz'
@md5='df976d24e51ef3d87cd462edf747bf9a'
@homepage='http://vorbis.com'
depends_on 'libogg'
depends_on 'libvorbis'
#depends_on 'ao' => :optional
#depends_on 'ogg123' => :optional
def install
system "./configure --disable-debug --disable-nls --disable-dependency-tracking --prefix='#{prefix}'"
# wtf?!
inreplace 'ogg123/Makefile', '-arch ppc ppc64 i386 x86_64', '-arch i386'
system "make install"
end
end