Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7cd89cd5d1
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.983 kb
require 'formula'
class Pianobar < Formula
homepage 'https://github.com/PromyLOPh/pianobar/'
url 'https://github.com/PromyLOPh/pianobar/tarball/2012.09.07'
sha1 'c4e399dafaffb3c4c4c07682f5cfac82605600da'
head 'https://github.com/PromyLOPh/pianobar.git'
depends_on 'libao'
depends_on 'mad'
depends_on 'faad2'
depends_on 'gnutls'
depends_on 'libgcrypt'
depends_on 'json-c'
fails_with :llvm do
build 2334
cause "Reports of this not compiling on Xcode 4"
end
def install
# Discard Homebrew's CFLAGS as Pianobar reportedly doesn't like them
ENV['CFLAGS'] = "-O2 -DNDEBUG " +
# Or it doesn't build at all
"-std=c99 " +
# build if we aren't /usr/local'
"#{ENV["CPPFLAGS"]} #{ENV["LDFLAGS"]}"
system "make", "PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"
# Install contrib folder too, why not.
prefix.install 'contrib'
end
end
Jump to Line
Something went wrong with that request. Please try again.