aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libsigc++.rb
diff options
context:
space:
mode:
authorNibbles 2bits2011-10-13 22:10:05 -0700
committerCharlie Sharpsteen2011-10-14 19:06:17 -0700
commit497f53a820e6f605cc2e7761af6eb9c9b5aa7245 (patch)
treeb3f3a2e859a6e159d2fbae6f959913616deb8cc2 /Library/Formula/libsigc++.rb
parentf5280d9a6ac27ff2084a7eec72c2aa40127d0a5c (diff)
downloadhomebrew-497f53a820e6f605cc2e7761af6eb9c9b5aa7245.tar.bz2
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 #8107. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/libsigc++.rb')
-rw-r--r--Library/Formula/libsigc++.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/libsigc++.rb b/Library/Formula/libsigc++.rb
index 12043ffab..227999450 100644
--- a/Library/Formula/libsigc++.rb
+++ b/Library/Formula/libsigc++.rb
@@ -2,12 +2,17 @@ require 'formula'
class Libsigcxx < Formula
homepage 'http://libsigc.sourceforge.net'
- url 'http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.9.tar.bz2'
- sha256 '2f4c083e01d9be377669206bd97090d2e95bc05f2e8d95447c9f9ce92bdfbb63'
+ 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