class Mpdscribble < Formula desc "Last.fm reporting client for mpd" homepage "https://mpd.wikia.com/wiki/Client:Mpdscribble" url "http://www.musicpd.org/download/mpdscribble/0.22/mpdscribble-0.22.tar.gz" sha256 "ff882d02bd830bdcbccfe3c3c9b0d32f4f98d9becdb68dc3135f7480465f1e38" bottle do sha256 "4db146ed5a26dbc001635cb3367c0d26978371d932acad6e0416f5c47ba38c18" => :mavericks sha256 "e1e0581c453237c817b326a0da0bb5b0fe70a0ea10c4383e2f75b7332651f17a" => :mountain_lion sha256 "fc0ef6831fa92779da48b9694c14d71d7b712a070b432e6aa3a9855d16b04cda" => :lion end depends_on "pkg-config" => :build 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 plist_options :manual => "mpdscribble" def plist; <<-EOS.undent Label #{plist_name} WorkingDirectory #{HOMEBREW_PREFIX} ProgramArguments #{opt_bin}/mpdscribble --no-daemon RunAtLoad KeepAlive EOS end end