New formula: libstxxl 1.3.1
Closes Homebrew/homebrew#8356. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
94132b7499
commit
43541b61dc
1 changed files with 21 additions and 0 deletions
21
Formula/libstxxl.rb
Normal file
21
Formula/libstxxl.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue