aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNibbles 2bits2011-09-21 18:03:51 -0700
committerCharlie Sharpsteen2011-09-21 22:59:15 -0700
commit4427ae9dd2bf24dd9da8bb123252bc8cc6c91b7b (patch)
treec816c37b8d3e2bc24383ca919410f01743a439f9 /Library
parentd8c62e91487dc8fc967c4fef67e3f9f14e4b2e6a (diff)
downloadhomebrew-4427ae9dd2bf24dd9da8bb123252bc8cc6c91b7b.tar.bz2
libmpd: Update to 11.8.17 plus universal opt
libmpd changed their versioning scheme from the previous 0.20.0 to this 11.8.17 which is apparently like going to 0.20.95, except that they wanted to match the version numbering on their main project gmpc. This version compiles with llvm, gcc-4.2.1, and clang from XCode 4.0.2 on x64 10.6.8. See their sourceforge files: * http://sourceforge.net/projects/musicpd/files/ Closes #7750. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libmpd.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/libmpd.rb b/Library/Formula/libmpd.rb
index d1cea6c21..3c7fde67c 100644
--- a/Library/Formula/libmpd.rb
+++ b/Library/Formula/libmpd.rb
@@ -1,15 +1,20 @@
require 'formula'
class Libmpd < Formula
- url 'http://downloads.sourceforge.net/project/musicpd/libmpd/0.20.0/libmpd-0.20.0.tar.gz'
+ url 'http://downloads.sourceforge.net/project/musicpd/libmpd/11.8.17/libmpd-11.8.17.tar.gz'
homepage 'http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client'
- md5 '2f1c99e12c69f7d95cfd1e27368056ed'
+ sha1 'df129f15061662a6fec1b2ce19f9dbc8b7a7d1ba'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'glib'
+ def options
+ [[ '--universal', 'Build a universal library.' ]]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"