aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pianobar.rb
blob: 99773787ae1afbfe54b1d0fa7abf70da8c13a29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Pianobar <Formula
  url 'git://github.com/PromyLOPh/pianobar.git',
    :tag => '2010.11.06'
  version '2010.11.06'
  homepage 'http://github.com/PromyLOPh/pianobar/'

  head 'git://github.com/PromyLOPh/pianobar.git'

  depends_on 'libao'
  depends_on 'mad'
  depends_on 'faad2'

  def install
    ENV.delete "CFLAGS"
    system "make", "PREFIX=#{prefix}"
    system "make", "install", "PREFIX=#{prefix}"
  end
end