From 43541b61dcf305830324eef6ac0823049915aba5 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 28 Oct 2011 13:40:22 -0700 Subject: [PATCH] New formula: libstxxl 1.3.1 Closes Homebrew/homebrew#8356. Signed-off-by: Jack Nagel --- Formula/libstxxl.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Formula/libstxxl.rb diff --git a/Formula/libstxxl.rb b/Formula/libstxxl.rb new file mode 100644 index 0000000000..a5756b977c --- /dev/null +++ b/Formula/libstxxl.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Libstxxl < Formula + url 'http://sourceforge.net/projects/stxxl/files/stxxl/1.3.1/stxxl-1.3.1.tar.gz' + homepage 'http://stxxl.sourceforge.net/' + md5 '8d0e8544c4c830cf9ae81c39b092438c' + + def install + inreplace "Makefile" do |s| + s.change_make_var! "USE_MACOSX", "yes" + end + + ENV['COMPILER'] = ENV.cxx + + system "make", "config_gnu" + system "make", "library_g++" + + prefix.install Dir['include'] + prefix.install Dir['lib'] + end +end