aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libsigc++.rb
blob: 227999450caf089aebeba56042bb36fd92c7ac9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Libsigcxx < Formula
  homepage 'http://libsigc.sourceforge.net'
  url 'http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.10.tar.bz2'
  sha256 'd3d810c2ad469edfb2d4db29643bef189b7613019eadbd4a72823af3c73c959c'

  def options
    [[ '--test', 'Verify the build during install with make check. (~3sec)' ]]
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
    system "make"
    system "make check" if ARGV.include? '--test'
    system "make install"
  end
end