vorbis-tools and libao formulae
This commit is contained in:
parent
ccd34265bc
commit
8a2140553a
2 changed files with 32 additions and 0 deletions
12
Formula/libao.rb
Normal file
12
Formula/libao.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
require 'brewkit'
|
||||
|
||||
class Libao <Formula
|
||||
@url='http://downloads.xiph.org/releases/ao/libao-0.8.8.tar.gz'
|
||||
@md5='b92cba3cbcf1ee9bc221118a85d23dcd'
|
||||
@homepage='http://www.xiph.org/ao/'
|
||||
|
||||
def install
|
||||
system "./configure --disable-debug --disable-dependency-tracking --prefix='#{prefix}'"
|
||||
system "make install"
|
||||
end
|
||||
end
|
20
Formula/vorbis-tools.rb
Normal file
20
Formula/vorbis-tools.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
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'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'ogg'
|
||||
LibraryDep.new 'vorbis'
|
||||
OptionalLibraryDep.new 'ao', 'ogg123'
|
||||
end
|
||||
|
||||
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
|
Loading…
Reference in a new issue