homebrew-core/Formula/libsigc++.rb

19 lines
550 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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