diff options
| author | marcindulak | 2013-07-30 18:09:01 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-02 10:36:32 -0700 |
| commit | 9f9b41d32bc44cb5b75c12688216f93e9f606743 (patch) | |
| tree | 10a37c02bd35b60910e692fd8c63ea11fdb952cf /Library/Formula/libxc.rb | |
| parent | f705a371c4d1187c53ed93020a452263a01a3794 (diff) | |
| download | homebrew-9f9b41d32bc44cb5b75c12688216f93e9f606743.tar.bz2 | |
libxc 2.0.2
Closes #21547.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libxc.rb')
| -rw-r--r-- | Library/Formula/libxc.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/libxc.rb b/Library/Formula/libxc.rb new file mode 100644 index 000000000..a33e319a3 --- /dev/null +++ b/Library/Formula/libxc.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Libxc < Formula + homepage 'http://www.tddft.org/programs/octopus/wiki/index.php/Libxc' + url 'http://www.tddft.org/programs/octopus/down.php?file=libxc/libxc-2.0.2.tar.gz' + sha1 '471de56191114f4fb4d557ec366d6978c2c1312d' + + depends_on :fortran + + def install + system "./configure", "--prefix=#{prefix}", + "--enable-shared", + "FCCPP=#{ENV.cc} -E -C -ansi", + "CC=#{ENV.cc}", + "CFLAGS=-pipe" + system "make" + system "make install" + end +end |
