2010-04-13 21:41:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Darkice < Formula
|
2012-02-17 05:03:29 +00:00
|
|
|
homepage 'http://code.google.com/p/darkice/'
|
2013-09-21 23:34:08 +00:00
|
|
|
url 'http://darkice.googlecode.com/files/darkice-1.2.tar.gz'
|
|
|
|
sha1 '508eb0560a7cdf0990a8793f4b8d324ae74bc343'
|
2012-02-17 05:03:29 +00:00
|
|
|
|
2010-04-13 21:41:42 +00:00
|
|
|
head 'http://darkice.googlecode.com/svn/darkice/branches/darkice-macosx'
|
|
|
|
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
depends_on 'lame'
|
|
|
|
depends_on 'two-lame'
|
|
|
|
depends_on 'faac'
|
|
|
|
depends_on 'jack'
|
|
|
|
|
|
|
|
def install
|
2012-02-17 05:03:29 +00:00
|
|
|
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}"
|
2010-04-13 21:41:42 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|