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

class JsonGlib < Formula
  homepage 'http://live.gnome.org/JsonGlib'
  url 'http://download.gnome.org/sources/json-glib/1.0/json-glib-1.0.0.tar.xz'
  sha256 'dbf558d2da989ab84a27e4e13daa51ceaa97eb959c2c2f80976c9322a8f4cdde'

  bottle do
    sha1 "0752cfa2f78c6be59db8eacfd52a46cec2191078" => :mavericks
    sha1 "ea3723bb024664c0e102a10dd03c16de00d43a4c" => :mountain_lion
    sha1 "90182a996bba98f1ad2b1487c8b1dc3936c17f26" => :lion
  end

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

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end