aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpdscribble.rb
blob: 01fa6cb0e94f263428abac5ed1edcfc81fc08b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Mpdscribble < Formula
  homepage 'http://mpd.wikia.com/wiki/Client:Mpdscribble'
  url 'http://www.musicpd.org/download/mpdscribble/0.22/mpdscribble-0.22.tar.gz'
  sha1 '3b4a1a71130deea1720bbfeb104fdcae298f52de'

  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
end