mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 22:03:43 +01:00
e7f619ac94
- triqs and triqs_cthyb_matrix formula work but unisntallation is not perfect.
27 lines
691 B
Ruby
27 lines
691 B
Ruby
require 'formula'
|
|
|
|
class TriqsCthybMatrix < Formula
|
|
homepage 'ipht.cea.fr/triqs/XXX'
|
|
#head 'https://github.com/TRIQS/cthyb_matrix.git'
|
|
version '1.0'
|
|
url 'file:///Users/parcolle/triqs/src/cthyb_matrix', :using => :git
|
|
#url 'https://github.com/TRIQS/cthyb_matrix/XXXXX.tar.gz'
|
|
#sha1 ''
|
|
|
|
depends_on 'cmake' => :build
|
|
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
|
|
|
|
def uninstall
|
|
system "rm /usr/local/bin/pytriqs"
|
|
end
|
|
|
|
end
|