diff options
| author | Max Howell | 2009-06-18 11:00:03 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-18 11:00:03 +0100 |
| commit | 95ed72338e13daf799eedf51744762172f81017d (patch) | |
| tree | bc5d1d29cc39acfb9f2908f3ec26e8b7d0008450 /Library/Formula | |
| parent | 0e05d517226214c63c292bba6bc41dcb9e16893a (diff) | |
| download | homebrew-95ed72338e13daf799eedf51744762172f81017d.tar.bz2 | |
vorbis-tools and libao formulae
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libao.rb | 12 | ||||
| -rw-r--r-- | Library/Formula/vorbis-tools.rb | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/libao.rb b/Library/Formula/libao.rb new file mode 100644 index 000000000..36a50044b --- /dev/null +++ b/Library/Formula/libao.rb @@ -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
\ No newline at end of file diff --git a/Library/Formula/vorbis-tools.rb b/Library/Formula/vorbis-tools.rb new file mode 100644 index 000000000..4cd6613ac --- /dev/null +++ b/Library/Formula/vorbis-tools.rb @@ -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
\ No newline at end of file |
