homebrew-core/Formula/libmpd.rb
Nibbles 2bits 827edf60fd 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 Homebrew/homebrew#7750.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-21 22:59:15 -07:00

22 lines
614 B
Ruby

require 'formula'
class Libmpd < Formula
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'
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"
end
end