aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmpd.rb
blob: f78c33a62d3eba8080ab04ef136d13aceefa1335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'formula'

class Libmpd < Formula
  homepage 'http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client'
  url 'http://www.musicpd.org/download/libmpd/11.8.17/libmpd-11.8.17.tar.gz'
  sha1 'df129f15061662a6fec1b2ce19f9dbc8b7a7d1ba'

  bottle do
    cellar :any
    revision 1
    sha1 "5a352271b7ae233617fe2ce48c0fc269e3f51cbc" => :yosemite
    sha1 "6ebf0308d867a69916c532ada5633172c120e49e" => :mavericks
    sha1 "1acdd0b195f4bb35f8d35098c54c5007396b7df8" => :mountain_lion
  end

  option :universal

  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'glib'

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end