2011-08-06 22:14:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mpdscribble < Formula
|
|
|
|
homepage 'http://mpd.wikia.com/wiki/Client:Mpdscribble'
|
2013-01-29 04:47:38 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/musicpd/mpdscribble/0.22/mpdscribble-0.22.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3b4a1a71130deea1720bbfeb104fdcae298f52de'
|
2011-08-06 22:14:38 +00:00
|
|
|
|
2013-02-10 06:28:14 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-08-06 22:14:38 +00:00
|
|
|
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
|