8dc451e3e2
Closes Homebrew/homebrew#20645. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
17 lines
443 B
Ruby
17 lines
443 B
Ruby
require 'formula'
|
|
|
|
class Libstxxl < Formula
|
|
homepage 'http://stxxl.sourceforge.net/'
|
|
url 'http://downloads.sourceforge.net/project/stxxl/stxxl/1.3.1/stxxl-1.3.1.tar.gz'
|
|
sha1 '5fba2bb26b919a07e966b2f69ae29aa671892a7d'
|
|
|
|
def install
|
|
ENV['COMPILER'] = ENV.cxx
|
|
|
|
system "make", "config_gnu", "USE_MACOSX=yes"
|
|
system "make", "library_g++", "USE_MACOSX=yes"
|
|
|
|
prefix.install 'include'
|
|
lib.install 'lib/libstxxl.a'
|
|
end
|
|
end
|