darkice 1.1

This commit is contained in:
Adam Vandenberg 2012-02-16 21:03:29 -08:00
parent 9971c310a2
commit 503aca497c

View file

@ -1,9 +1,11 @@
require 'formula'
class Darkice < Formula
# coreaudio brach of darkice
homepage 'http://code.google.com/p/darkice/'
url 'http://darkice.googlecode.com/files/darkice-1.1.tar.gz'
sha1 '8379670b477ce72beabd3a2d920ee880f69d7a30'
head 'http://darkice.googlecode.com/svn/darkice/branches/darkice-macosx'
homepage 'http://darkice.org/'
depends_on 'libvorbis'
depends_on 'lame'
@ -12,15 +14,13 @@ class Darkice < Formula
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 "./configure", "--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}"
system "make install"
end
end