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