2010-01-31 14:27:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libmpdclient < Formula
|
2011-09-21 10:39:51 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/musicpd/libmpdclient/2.5/libmpdclient-2.5.tar.bz2'
|
2010-01-31 14:27:29 +00:00
|
|
|
homepage 'http://mpd.wikia.com/wiki/ClientLib:libmpdclient'
|
2011-09-21 10:39:51 +00:00
|
|
|
sha1 '4e3c0925c92c27ddcb13113adc7ebe6dc975abc6'
|
|
|
|
|
|
|
|
def options
|
|
|
|
[[ '--universal', 'Build a universal library.' ]]
|
|
|
|
end
|
2010-01-31 14:27:29 +00:00
|
|
|
|
|
|
|
def install
|
2011-09-21 10:39:51 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2010-01-31 14:27:29 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|