aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpd.rb6
1 files changed, 5 insertions, 1 deletions
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"