pianobar 2012.06.24
This commit is contained in:
parent
14c79fe70b
commit
b6b655300b
1 changed files with 8 additions and 8 deletions
|
@ -2,8 +2,8 @@ require 'formula'
|
|||
|
||||
class Pianobar < Formula
|
||||
homepage 'https://github.com/PromyLOPh/pianobar/'
|
||||
url 'https://github.com/PromyLOPh/pianobar/tarball/2012.05.06'
|
||||
md5 '1bbfd129f66b5bf37a84cf7794f2eaf2'
|
||||
url 'https://github.com/PromyLOPh/pianobar/tarball/2012.06.24'
|
||||
sha1 '510dfbbc411e516a71f56d71dfb06086faabd4dd'
|
||||
|
||||
head 'https://github.com/PromyLOPh/pianobar.git'
|
||||
|
||||
|
@ -23,12 +23,12 @@ class Pianobar < Formula
|
|||
def install
|
||||
# Discard Homebrew's CFLAGS as Pianobar reportedly doesn't like them
|
||||
ENV['CFLAGS'] = "-O2 -DNDEBUG " +
|
||||
# fixes a segfault: https://github.com/PromyLOPh/pianobar/issues/138
|
||||
"-D_DARWIN_C_SOURCE " +
|
||||
# Or it doesn't build at all
|
||||
"-std=c99 " +
|
||||
# build if we aren't /usr/local'
|
||||
"#{ENV["CPPFLAGS"]} #{ENV["LDFLAGS"]}"
|
||||
# fixes a segfault: https://github.com/PromyLOPh/pianobar/issues/138
|
||||
"-D_DARWIN_C_SOURCE " +
|
||||
# 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}"
|
||||
|
|
Loading…
Reference in a new issue