aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpdscribble.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mpdscribble.rb')
-rw-r--r--Library/Formula/mpdscribble.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/mpdscribble.rb b/Library/Formula/mpdscribble.rb
new file mode 100644
index 000000000..029f5856f
--- /dev/null
+++ b/Library/Formula/mpdscribble.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Mpdscribble < Formula
+ url 'http://downloads.sourceforge.net/project/musicpd/mpdscribble/0.22/mpdscribble-0.22.tar.gz'
+ homepage 'http://mpd.wikia.com/wiki/Client:Mpdscribble'
+ md5 'df95ea5046511102bf1bcc35482d0365'
+
+ depends_on 'glib'
+ depends_on 'libmpdclient'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
+ system "make install"
+ end
+
+ def caveats; <<-EOS.undent
+ The configuration file was placed in #{etc}/mpdscribble.conf
+ EOS
+ end
+end