aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libsigc++.rb
blob: 2530c50f7032b4e6da7f6b33a94373acf81e817c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require "formula"

class Libsigcxx < Formula
  homepage "http://libsigc.sourceforge.net"
  url "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.4/libsigc++-2.4.0.tar.xz"
  sha256 "7593d5fa9187bbad7c6868dce375ce3079a805f3f1e74236143bceb15a37cd30"

  bottle do
    sha1 "c15edf433a6e99ef66188cf07007e4d64ac50b29" => :mavericks
    sha1 "b72366f4144c29d1c3cf2a0870d40a172fdfc185" => :mountain_lion
    sha1 "5acbd886f2a303837d0ab0013c4de766281925ef" => :lion
  end

  option :cxx11

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