aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/darkice.rb
diff options
context:
space:
mode:
authorEdward George2010-04-13 22:41:42 +0100
committerAdam Vandenberg2010-11-07 19:06:34 -0800
commitcccfb254f161d8467ab63c74c7293279b10ca4a5 (patch)
tree5a7e7fec0331d659acec4f45e824ab0bdf9eb530 /Library/Formula/darkice.rb
parent0cf8b48e631f309a6290df4c6b39eaf36b310b70 (diff)
downloadhomebrew-cccfb254f161d8467ab63c74c7293279b10ca4a5.tar.bz2
New Formula: darkice
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/darkice.rb')
-rw-r--r--Library/Formula/darkice.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/darkice.rb b/Library/Formula/darkice.rb
new file mode 100644
index 000000000..de19e435b
--- /dev/null
+++ b/Library/Formula/darkice.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class Darkice <Formula
+ # coreaudio brach of darkice
+ head 'http://darkice.googlecode.com/svn/darkice/branches/darkice-macosx'
+ homepage 'http://darkice.org/'
+
+ depends_on 'libvorbis'
+ depends_on 'lame'
+ depends_on 'two-lame'
+ depends_on 'faac'
+ depends_on 'jack'
+
+ def install
+ inreplace 'autogen.sh', 'libtool', 'glibtool'
+ system "./autogen.sh", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--with-lame-prefix=#{HOMEBREW_PREFIX}",
+ "--with-vorbis-prefix=#{HOMEBREW_PREFIX}",
+ "--with-twolame-prefix=#{HOMEBREW_PREFIX}",
+ "--with-faac-prefix=#{HOMEBREW_PREFIX}",
+ "--with-jack-prefix=#{HOMEBREW_PREFIX}",
+ "--with-core=yes"
+ system "make install"
+ end
+end