aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/two-lame.rb
blob: 7fe59e6b3bab17ca7f37719b7a01309c27258805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class TwoLame < Formula
  homepage 'http://www.twolame.org/'
  url 'http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz'
  sha1 '3ca460472c2f6eeedad70291d8e37da88b64eb8b'

  option 'frontend', 'Build the twolame frontend using libsndfile'

  depends_on 'libsndfile' if build.include? 'frontend'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system 'make install'
  end
end