aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpdscribble.rb
diff options
context:
space:
mode:
authorCarlos León2011-08-06 17:14:38 -0500
committerAdam Vandenberg2011-08-11 08:40:20 -0700
commitb788c07da22ef529930d0d5622088ee4b576ccc5 (patch)
tree2d9e5e9a5512340162df80f4daabc4738641cc88 /Library/Formula/mpdscribble.rb
parent5cdc00de5902c6fb59309476b15b40561965a1a4 (diff)
downloadhomebrew-b788c07da22ef529930d0d5622088ee4b576ccc5.tar.bz2
mpdscribble 0.22
A Last.fm scrobbler for MPD. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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