aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJohannes Weißl2011-05-27 01:57:22 +0200
committerAdam Vandenberg2011-05-26 21:41:10 -0700
commit4472594438948a330ba75c2aa0bb24b4471280d3 (patch)
treed06692779a5ae31471478237737b08ef69ac956d /Library/Formula
parent5c789887242da5b1188b71a80292ccc7f105d109 (diff)
downloadhomebrew-4472594438948a330ba75c2aa0bb24b4471280d3.tar.bz2
cmus 2.4.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cmus.rb29
1 files changed, 2 insertions, 27 deletions
diff --git a/Library/Formula/cmus.rb b/Library/Formula/cmus.rb
index cb062adc4..8bd6815ba 100644
--- a/Library/Formula/cmus.rb
+++ b/Library/Formula/cmus.rb
@@ -1,9 +1,9 @@
require 'formula'
class Cmus < Formula
- url 'http://downloads.sourceforge.net/cmus/cmus-v2.4.0.tar.bz2'
+ url 'http://downloads.sourceforge.net/cmus/cmus-v2.4.1.tar.bz2'
homepage 'http://cmus.sourceforge.net/'
- md5 '0c5a9f4032e632e5f6b6a49f53df1e7e'
+ md5 '7932bbada04bc9a273c332a323fc5704'
depends_on 'pkg-config' => :build
depends_on 'libao'
@@ -17,33 +17,8 @@ class Cmus < Formula
skip_clean 'bin/cmus'
skip_clean 'bin/cmus-remote'
- def patches
- # fix flac CFLAGS detection, already applied upstream:
- # https://gitorious.org/cmus/cmus/commit/51f7aaccab09f30ff6a683eec3163904c7148cb3
- DATA
- end
-
def install
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
system "make install"
end
end
-__END__
-diff --git a/configure b/configure
-index 127f64a..e8fbece 100755
---- a/configure
-+++ b/configure
-@@ -146,7 +146,12 @@ check_mpc()
-
- check_flac()
- {
-- pkg_config FLAC "flac" "" "-lFLAC -lm" && return 0
-+ if pkg_config FLAC "flac" "" "-lFLAC -lm"
-+ then
-+ # Make sure the FLAC_CFLAGS value is sane, strip trailing '/FLAC'.
-+ FLAC_CFLAGS=`echo $FLAC_CFLAGS | sed "s/FLAC$//"`
-+ return 0
-+ fi
- check_library FLAC "" "-lFLAC -lvorbisfile -lm"
- return $?
- }