From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/cp2k/.beer | 45 +++++++++++++++++++++++++++++++++++++ homebrew/cp2k/.make.sh-auto | 5 +++++ homebrew/cp2k/_metadata/description | 1 + homebrew/cp2k/_metadata/homepage | 1 + homebrew/cp2k/_metadata/name | 1 + homebrew/cp2k/_metadata/version | 1 + homebrew/cp2k/download.sh | 1 + 7 files changed, 55 insertions(+) create mode 100644 homebrew/cp2k/.beer create mode 100644 homebrew/cp2k/.make.sh-auto create mode 100644 homebrew/cp2k/_metadata/description create mode 100644 homebrew/cp2k/_metadata/homepage create mode 100644 homebrew/cp2k/_metadata/name create mode 100644 homebrew/cp2k/_metadata/version create mode 100755 homebrew/cp2k/download.sh (limited to 'homebrew/cp2k') 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 -- cgit v1.2.3