homebrew-core/Formula/libmpdclient.rb
Nibbles 2bits efd85d35f3 libmpdclient 2.5
Updates the url and hash to version 2.5, and adds a dep option
to build universal a la pcre.  Tested on MacOSX 10.6.8 using
all three compilers in 64bit mode from XCode 4.0.2.

Closes Homebrew/homebrew#7737.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-21 15:46:46 -05:00

17 lines
515 B
Ruby

require 'formula'
class Libmpdclient < Formula
url 'http://downloads.sourceforge.net/project/musicpd/libmpdclient/2.5/libmpdclient-2.5.tar.bz2'
homepage 'http://mpd.wikia.com/wiki/ClientLib:libmpdclient'
sha1 '4e3c0925c92c27ddcb13113adc7ebe6dc975abc6'
def options
[[ '--universal', 'Build a universal library.' ]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end