New formula libfishsound

libfishsound provides a simple programming interface for decoding and
encoding audio data using the Xiph.org codecs (FLAC, Speex and Vorbis).
This commit is contained in:
David Höppner 2010-06-05 20:23:14 +02:00
parent d3fb0dae62
commit 9f16f4b7c0

17
Formula/libfishsound.rb Normal file
View file

@ -0,0 +1,17 @@
require 'formula'
class Libfishsound <Formula
url 'http://downloads.xiph.org/releases/libfishsound/libfishsound-1.0.0.tar.gz'
homepage 'http://xiph.org/fishsound/'
md5 '02c5c7b361a35c9da3cf311d68800dab'
depends_on 'pkg-config'
depends_on 'libvorbis'
depends_on 'speex' => :optional
depends_on 'flac' => :optional
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end