2010-01-08 19:27:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class TwoLame < Formula
|
2010-01-08 19:27:01 +00:00
|
|
|
homepage 'http://www.twolame.org/'
|
2012-06-01 09:50:33 +00:00
|
|
|
url 'http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz'
|
|
|
|
sha1 '3ca460472c2f6eeedad70291d8e37da88b64eb8b'
|
|
|
|
|
2012-08-23 04:28:37 +00:00
|
|
|
option 'frontend', 'Build the twolame frontend using libsndfile'
|
2012-06-01 09:50:33 +00:00
|
|
|
|
2012-08-23 04:28:37 +00:00
|
|
|
depends_on 'libsndfile' if build.include? 'frontend'
|
2010-01-08 19:27:01 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-23 04:28:37 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2012-06-01 09:50:33 +00:00
|
|
|
system 'make install'
|
2010-01-08 19:27:01 +00:00
|
|
|
end
|
|
|
|
end
|