aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2010-06-05 20:23:14 +0200
committerDavid Höppner2010-06-05 20:23:14 +0200
commit7b852622a01180a48accccd7fc7563a6dcf5676e (patch)
treee72f1c1ddb0398f980867d8e87f7c5dff7c56fda /Library/Formula
parentaee744cdae3bfa23e903da4b92525fa3ceb262a4 (diff)
downloadhomebrew-7b852622a01180a48accccd7fc7563a6dcf5676e.tar.bz2
New formula libfishsound
libfishsound provides a simple programming interface for decoding and encoding audio data using the Xiph.org codecs (FLAC, Speex and Vorbis).
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libfishsound.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/libfishsound.rb b/Library/Formula/libfishsound.rb
new file mode 100644
index 000000000..3b2f19be7
--- /dev/null
+++ b/Library/Formula/libfishsound.rb
@@ -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