diff options
Diffstat (limited to 'homebrew/cp2k')
-rw-r--r-- | homebrew/cp2k/.beer | 45 | ||||
-rw-r--r-- | homebrew/cp2k/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/cp2k/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/cp2k/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/cp2k/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/cp2k/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/cp2k/download.sh | 1 |
7 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/cp2k/.beer b/homebrew/cp2k/.beer new file mode 100644 index 000000000..50caed5cd --- /dev/null +++ b/homebrew/cp2k/.beer @@ -0,0 +1,45 @@ +{ + "name": "Cp2k", + "description": "Quantum chemistry and solid state physics software package", + "url": "https://github.com/cp2k/cp2k/releases/download/v6.1.0/cp2k-6.1.tar.bz2", + "mirror": null, + "homepage": "https://www.cp2k.org/", + "depends": [ + { + "depend": "fftw", + "build-depend": false + }, + { + "depend": "gcc", + "build-depend": false + }, + { + "depend": "libxc", + "build-depend": false + }, + { + "depend": "open-mpi", + "build-depend": false + }, + { + "depend": "scalapack", + "build-depend": false + } + ], + "resource": [ + { + "name": "libint", + "url": "https://downloads.sourceforge.net/project/libint/v1-releases/libint-1.1.5.tar.gz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "resource(\"libint\").stage do", + "system \"./configure\", \"--prefix=#{libexec}\"", + "system \"make\"", + "ENV.deparallelize { system \"make\", \"install\" }" + ], + "version": "6.1", + "file": "cp2k.rb" +}
\ No newline at end of file diff --git a/homebrew/cp2k/.make.sh-auto b/homebrew/cp2k/.make.sh-auto new file mode 100644 index 000000000..9c11a7bba --- /dev/null +++ b/homebrew/cp2k/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +resource("libint").stage do +pkg:configure +make +ENV.deparallelize { system "make", "install" } diff --git a/homebrew/cp2k/_metadata/description b/homebrew/cp2k/_metadata/description new file mode 100644 index 000000000..9c6951e27 --- /dev/null +++ b/homebrew/cp2k/_metadata/description @@ -0,0 +1 @@ +Quantum chemistry and solid state physics software package diff --git a/homebrew/cp2k/_metadata/homepage b/homebrew/cp2k/_metadata/homepage new file mode 100644 index 000000000..6bcb7711d --- /dev/null +++ b/homebrew/cp2k/_metadata/homepage @@ -0,0 +1 @@ +https://www.cp2k.org/ diff --git a/homebrew/cp2k/_metadata/name b/homebrew/cp2k/_metadata/name new file mode 100644 index 000000000..faccc2afa --- /dev/null +++ b/homebrew/cp2k/_metadata/name @@ -0,0 +1 @@ +Cp2k diff --git a/homebrew/cp2k/_metadata/version b/homebrew/cp2k/_metadata/version new file mode 100644 index 000000000..a435f5a56 --- /dev/null +++ b/homebrew/cp2k/_metadata/version @@ -0,0 +1 @@ +6.1 diff --git a/homebrew/cp2k/download.sh b/homebrew/cp2k/download.sh new file mode 100755 index 000000000..d016a14f8 --- /dev/null +++ b/homebrew/cp2k/download.sh @@ -0,0 +1 @@ +wget https://github.com/cp2k/cp2k/releases/download/v6.1.0/cp2k-6.1.tar.bz2
\ No newline at end of file |