mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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 #8107. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
19 lines
550 B
Ruby
19 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
|