homebrew-core/Formula/libmpd.rb

21 lines
538 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libmpd < Formula
homepage 'http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client'
url 'http://www.musicpd.org/download/libmpd/11.8.17/libmpd-11.8.17.tar.gz'
sha1 'df129f15061662a6fec1b2ce19f9dbc8b7a7d1ba'
2012-08-10 05:14:18 +00:00
option :universal
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'glib'
def install
2012-08-10 05:14:18 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end