mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +01:00
20 lines
512 B
Ruby
20 lines
512 B
Ruby
|
require 'formula'
|
||
|
|
||
|
class Triqs_cthyb_matrix < Formula
|
||
|
homepage 'ipht.cea.fr/triqs/XXX'
|
||
|
head 'https://github.com/TRIQS/cthyb_matrix.git'
|
||
|
url 'https://github.com/TRIQS/cthyb_matrix/XXXXX.tar.gz'
|
||
|
#sha1 ''
|
||
|
|
||
|
depends_on 'triqs'
|
||
|
|
||
|
def install
|
||
|
args=["-DTRIQS_PATH=/usr/local/"]
|
||
|
system "cmake", ".", *args
|
||
|
system "make -j8 " # if this fails, try separate make/make install steps
|
||
|
system "make test"
|
||
|
system "make -j8 install" # if this fails, try separate make/make install steps
|
||
|
end
|
||
|
|
||
|
end
|