From d198bcf0065070ce0ee36b9da0f580ada5cd5a06 Mon Sep 17 00:00:00 2001 From: richo Date: Wed, 21 Mar 2012 20:07:28 +1100 Subject: mpd: add --HEAD Signed-off-by: Adam Vandenberg --- Library/Formula/mpd.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb index 4ddc25728..a3b22d746 100644 --- a/Library/Formula/mpd.rb +++ b/Library/Formula/mpd.rb @@ -1,10 +1,12 @@ require 'formula' class Mpd < Formula - url 'http://sourceforge.net/projects/musicpd/files/mpd/0.16.7/mpd-0.16.7.tar.bz2' homepage 'http://mpd.wikia.com' + url 'http://sourceforge.net/projects/musicpd/files/mpd/0.16.7/mpd-0.16.7.tar.bz2' sha1 '878f3ce82d4f00f6cbad63a625b2c0274c4a704a' + head "git://git.musicpd.org/master/mpd.git" + depends_on 'pkg-config' => :build depends_on 'glib' depends_on 'libid3tag' @@ -23,6 +25,8 @@ class Mpd < Formula end def install + system "./autogen.sh" if ARGV.build_head? + # make faad.h findable (when brew is used elsewhere than /usr/local/) ENV.append 'CFLAGS', "-I#{HOMEBREW_PREFIX}/include" -- cgit v1.2.3