aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpd.rb
diff options
context:
space:
mode:
authorricho2012-03-21 20:07:28 +1100
committerAdam Vandenberg2012-03-21 06:56:25 -0700
commitd198bcf0065070ce0ee36b9da0f580ada5cd5a06 (patch)
treead378bcdd5787548c3236e874a1fc467736e4770 /Library/Formula/mpd.rb
parent03477bb4e5118db24a2eb198f4ae8645b6dae02c (diff)
downloadhomebrew-d198bcf0065070ce0ee36b9da0f580ada5cd5a06.tar.bz2
mpd: add --HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mpd.rb')
-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"