diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/libxc | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/libxc')
-rw-r--r-- | homebrew/libxc/.beer | 25 | ||||
-rw-r--r-- | homebrew/libxc/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/libxc/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/libxc/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/libxc/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/libxc/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/libxc/download.sh | 1 |
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/libxc/.beer b/homebrew/libxc/.beer new file mode 100644 index 000000000..15a06c3bb --- /dev/null +++ b/homebrew/libxc/.beer @@ -0,0 +1,25 @@ +{ + "name": "Libxc", + "description": "Library of exchange and correlation functionals for codes", + "url": "https://tddft.org/programs/octopus/download/libxc/4.2.3/libxc-4.2.3.tar.gz", + "mirror": null, + "homepage": "https://tddft.org/programs/libxc/", + "depends": [ + { + "depend": "gcc", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"./configure\", \"--prefix=#{prefix}\",", + "\"--enable-shared\",", + "\"FCCPP=gfortran -E -x c\",", + "\"CC=#{ENV.cc}\"", + "system \"make\", \"install\"" + ], + "version": "4.2.3", + "file": "libxc.rb" +}
\ No newline at end of file diff --git a/homebrew/libxc/.make.sh-auto b/homebrew/libxc/.make.sh-auto new file mode 100644 index 000000000..318d89c62 --- /dev/null +++ b/homebrew/libxc/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +pkg:configure --enable-shared FCCPP=gfortran -E -x c CC=${PKG_TARG}-clang +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/libxc/_metadata/description b/homebrew/libxc/_metadata/description new file mode 100644 index 000000000..c5095754d --- /dev/null +++ b/homebrew/libxc/_metadata/description @@ -0,0 +1 @@ +Library of exchange and correlation functionals for codes diff --git a/homebrew/libxc/_metadata/homepage b/homebrew/libxc/_metadata/homepage new file mode 100644 index 000000000..a106f385b --- /dev/null +++ b/homebrew/libxc/_metadata/homepage @@ -0,0 +1 @@ +https://tddft.org/programs/libxc/ diff --git a/homebrew/libxc/_metadata/name b/homebrew/libxc/_metadata/name new file mode 100644 index 000000000..cecfb4b10 --- /dev/null +++ b/homebrew/libxc/_metadata/name @@ -0,0 +1 @@ +Libxc diff --git a/homebrew/libxc/_metadata/version b/homebrew/libxc/_metadata/version new file mode 100644 index 000000000..f2c6cb6af --- /dev/null +++ b/homebrew/libxc/_metadata/version @@ -0,0 +1 @@ +4.2.3 diff --git a/homebrew/libxc/download.sh b/homebrew/libxc/download.sh new file mode 100755 index 000000000..368ad7590 --- /dev/null +++ b/homebrew/libxc/download.sh @@ -0,0 +1 @@ +wget https://tddft.org/programs/octopus/download/libxc/4.2.3/libxc-4.2.3.tar.gz
\ No newline at end of file |