homebrew-core/Formula/libsigc++.rb
Nibbles 2bits b066579bd3 libsigc++ 2.2.10
This updates libsigc++ to version 2.2.10.  Also there is now an
option to test the build.  It creates native static and shared
libraries, and it compiles without error using clang, llvm, and gcc
from XCode-4.0.2 on OSX 10.6.8, x86_64.  This library is a typesafe
callback framework for C++.

Closes Homebrew/homebrew#8107.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-14 19:06:17 -07:00

18 lines
550 B
Ruby

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