From 4427ae9dd2bf24dd9da8bb123252bc8cc6c91b7b Mon Sep 17 00:00:00 2001 From: Nibbles 2bits Date: Wed, 21 Sep 2011 18:03:51 -0700 Subject: 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 --- Library/Formula/libmpd.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3