summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2020-05-14 17:01:51 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2020-05-14 17:02:16 +0300
commite22f74af474679a87dadb2f75dac4b6235105a59 (patch)
tree49cf0d12be0a88a231090fe79d2d0923ff95b06a /sci-chemistry/gromacs
parentsys-kernel/gentoo-sources: Linux patch 5.6.13 and 2 additional patches (diff)
downloadgentoo-e22f74af474679a87dadb2f75dac4b6235105a59.tar.gz
gentoo-e22f74af474679a87dadb2f75dac4b6235105a59.tar.bz2
gentoo-e22f74af474679a87dadb2f75dac4b6235105a59.zip
sci-chemistry/gromacs: Use mainstream manual
Closes: https://bugs.gentoo.org/717890 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sci-chemistry/gromacs')
-rw-r--r--sci-chemistry/gromacs/Manifest3
-rw-r--r--sci-chemistry/gromacs/gromacs-2018.8.ebuild68
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.5-r1.ebuild80
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.6.ebuild80
4 files changed, 25 insertions, 206 deletions
diff --git a/sci-chemistry/gromacs/Manifest b/sci-chemistry/gromacs/Manifest
index 85ca68f29247..d9068e0f9f0d 100644
--- a/sci-chemistry/gromacs/Manifest
+++ b/sci-chemistry/gromacs/Manifest
@@ -3,6 +3,9 @@ DIST gromacs-2019.5.tar.gz 33445791 BLAKE2B 1e2e2764b0c8774c878abf4f32c2fa7ddd9b
DIST gromacs-2019.6.tar.gz 33446147 BLAKE2B adc21fb6b841b06d499607f8c0166a673645ef5af0b40bd823d0fff5ea24397e6301c5e1e0070986ae1ce1deba8a42052b66da148b071c1e21f2fe3908fee275 SHA512 7c227a9539e5775d5d128ae9e872a24181d79cdcd2852b86453597987e8d7332ecec371da65d089f6e610c54aafbccc8824ce298743383dd6240719ebee692a8
DIST gromacs-2020.1.tar.gz 29153989 BLAKE2B b1c0313da945c57c74040c2bcd50495b238b0e131cc4ebecd74ae0d01465b47d732ea456a52a2f9d998cd37e2bfdb93d52bd15177328c4b7a14e6b1d8bc00117 SHA512 130394ec70e5d75ea451e9fa77c4ea2dd4adb0c51cc7663ac8579972bab7a0b75d9143d0eebb21802fc93305deca8831393a8cb3f51b6d01f9477f3dadece037
DIST gromacs-2020.2.tar.gz 29144614 BLAKE2B cd20b031dcec32d9a797d66f2679779077910c184702f12f12093d92e8417d42e07bfb17a8fe63e9d29a889d5f57461b5f86e11adfc26635f8d2b5a5df19473a SHA512 348c80fad93b34e6703906fec97c6c2294c0803c326d6145776b732e1c33cd58e0967ddb2ec4799e3583542c09e7a6a015e4d084d60cf97b81b3a92253cca76c
+DIST manual-2018.8.pdf 10025023 BLAKE2B afb0a6e6a72d78df743fcb57e7c1716848589e571dd35167b957a9b407ca27978ccfb6cb9e0df9c9439b888f352501a00ba32281ed1e0b4193bd606f1d77152e SHA512 b1972f7ce965bfc9377542993c5943ea4868a8ed23a969d4203264746d6bea3a7a65c6379196ece37fd6d68ec7ec80f827bde87d1049284af7082759a124f1d5
+DIST manual-2019.5.pdf 12702361 BLAKE2B cb80429a59019b190115bf2af689c0df23b0fec6e41a9ebc9eba20977d1b06eed79044c906c41228883767f673140e15d3a5ef947a0c1ec4fe84012089f4fa91 SHA512 baf27961b87e6120c49abc9dc58e25d12a15588b4ac787e1a086748d488692d4a1262229ac66e550d3cca3a6042545fb6ec472a2c98d6a8698b7a18b4397f605
+DIST manual-2019.6.pdf 12702376 BLAKE2B c350127bc06a9eb3dee73da39037c84daeb89500e23cb131bd19a150bf60602d4dde7611e0c6f0f344af4093e96a899303dac71b4df56fd0c44c3a48a56606b7 SHA512 dfdff67c2c1c9ce1f1c236b7686c5331b0fe86951da6c98eddd6a3e748815e0be0a9653ae4318469fcdd913c4e7c355d64a997cc80b9d9fbe6282ef6d98e61eb
DIST regressiontests-2018.8.tar.gz 67855469 BLAKE2B 34c9b339f6229f483afbb5192ee6ba8b8f72d5c26907a853af9c53dfece0d88739e48f6b44b78d1c010f988f9385d077285300522164f533a5861e9dda879275 SHA512 3642389d27bd1942cd0f091c940ae97b197b94856a387fe581dc516b0d4169480f16551d4ba357f9282b3337d605c286d51dd38112ac87c826dda634904836bb
DIST regressiontests-2019.5.tar.gz 67643634 BLAKE2B c4d9535d9a8a650869d67544ad5f367324f45e55325bb5074ece9b010f232f2f0dd97c9af97924d3f2368ed63015ca7330baff1cc681310e1439ec330b70ee8d SHA512 7c0917b76e7db35ab4e3271d523d268e0e2d858091e68ead863bfe6d1e56b381e30fdbf44f479f6e065c029e2eb27cfa0dbaa1b243f185144321aaf5084c55ce
DIST regressiontests-2019.6.tar.gz 67643195 BLAKE2B 1e054e24b187946f7ea28090d4f20cf8e1d79a26253f57ba07d130e0773d8541b8a1552a38023d31a68ce8bc62d8e0af1d98609234bb3e7d3e6d567307ebb386 SHA512 eacf1c55b982515a305c29459fe80a7cd558a8481e5689962aa956148af542568b1d1ce59c6784ecb0afd4768c2b664afa21e12af2d89ae2b06b1ba61ad72036
diff --git a/sci-chemistry/gromacs/gromacs-2018.8.ebuild b/sci-chemistry/gromacs/gromacs-2018.8.ebuild
index 3e5988a06d24..feaa75c10bff 100644
--- a/sci-chemistry/gromacs/gromacs-2018.8.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2018.8.ebuild
@@ -7,18 +7,10 @@ CMAKE_MAKEFILE_GENERATOR="ninja"
inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 toolchain-funcs xdg-utils
-if [[ $PV = *9999* ]]; then
- EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
- https://gerrit.gromacs.org/gromacs.git
- https://github.com/gromacs/gromacs.git
- https://repo.or.cz/r/gromacs.git"
- [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+ doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${PV/_/-}.pdf )
test? ( http://gerrit.gromacs.org/download/regressiontests-${PV/_/-}.tar.gz )"
- KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-fi
+KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2"
@@ -49,12 +41,7 @@ CDEPEND="
"
BDEPEND="${CDEPEND}
virtual/pkgconfig
- doc? (
- app-doc/doxygen
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
+ "
RDEPEND="${CDEPEND}"
REQUIRED_USE="
@@ -67,9 +54,7 @@ DOCS=( AUTHORS README )
RESTRICT="!test? ( test )"
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
+S="${WORKDIR}/${PN}-${PV/_/-}"
pkg_pretend() {
[[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
@@ -77,20 +62,6 @@ pkg_pretend() {
die "Please switch to an openmp compatible compiler"
}
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="git://git.gromacs.org/regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
- git-r3_src_unpack
- fi
- fi
-}
-
src_prepare() {
#notes/todos
# -on apple: there is framework support
@@ -113,27 +84,6 @@ src_prepare() {
fi
DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
- # try to create policy for imagemagik
- mkdir -p ${HOME}/.config/ImageMagick
- cat >> ${HOME}/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
}
src_configure() {
@@ -176,7 +126,6 @@ src_configure() {
-DGMX_OPENMP=$(usex openmp)
-DGMX_COOL_QUOTES=$(usex offensive)
-DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex doc)
-DGMX_HWLOC=$(usex hwloc)
-DGMX_DEFAULT_SUFFIX=off
-DGMX_SIMD="$acce"
@@ -238,11 +187,6 @@ src_compile() {
einfo "Compiling for ${x} precision"
BUILD_DIR="${WORKDIR}/${P}_${x}"\
cmake-utils_src_compile
- # not 100% necessary for rel ebuilds as available from website
- if use doc; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake-utils_src_compile manual
- fi
use mpi || continue
einfo "Compiling for ${x} precision with mpi"
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\
@@ -262,7 +206,7 @@ src_install() {
BUILD_DIR="${WORKDIR}/${P}_${x}" \
cmake-utils_src_install
if use doc; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
+ newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" "${PN}-manual-${PV}.pdf"
fi
use mpi || continue
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \
diff --git a/sci-chemistry/gromacs/gromacs-2019.5-r1.ebuild b/sci-chemistry/gromacs/gromacs-2019.5-r1.ebuild
index dab1a95179dd..d5258ab6f232 100644
--- a/sci-chemistry/gromacs/gromacs-2019.5-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2019.5-r1.ebuild
@@ -5,22 +5,12 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 cmake-utils cuda eutils multilib python-single-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ $PV = *9999* ]]; then
- EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
- https://gerrit.gromacs.org/gromacs.git
- https://github.com/gromacs/gromacs.git
- https://repo.or.cz/r/gromacs.git"
- [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 toolchain-funcs xdg-utils
+
+SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+ doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${PV/_/-}.pdf )
test? ( http://gerrit.gromacs.org/download/regressiontests-${PV/_/-}.tar.gz )"
- KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-fi
+KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2"
@@ -53,17 +43,7 @@ CDEPEND="
"
BDEPEND="${CDEPEND}
virtual/pkgconfig
- doc? (
- app-doc/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
+ "
RDEPEND="${CDEPEND}"
REQUIRED_USE="
@@ -77,9 +57,7 @@ DOCS=( AUTHORS README )
RESTRICT="!test? ( test )"
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
+S="${WORKDIR}/${PN}-${PV/_/-}"
pkg_pretend() {
[[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
@@ -87,20 +65,6 @@ pkg_pretend() {
die "Please switch to an openmp compatible compiler"
}
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="git://git.gromacs.org/regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests" \
- git-r3_src_unpack
- fi
- fi
-}
-
src_prepare() {
#notes/todos
# -on apple: there is framework support
@@ -123,28 +87,6 @@ src_prepare() {
fi
DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
-
- # try to create policy for imagemagik
- mkdir -p ${HOME}/.config/ImageMagick
- cat >> ${HOME}/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
}
src_configure() {
@@ -194,7 +136,6 @@ src_configure() {
-DGMX_OPENMP=$(usex openmp)
-DGMX_COOL_QUOTES=$(usex offensive)
-DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex doc)
-DGMX_HWLOC=$(usex hwloc)
-DGMX_DEFAULT_SUFFIX=off
-DGMX_SIMD="$acce"
@@ -259,11 +200,6 @@ src_compile() {
einfo "Compiling for ${x} precision"
BUILD_DIR="${WORKDIR}/${P}_${x}"\
cmake-utils_src_compile
- # not 100% necessary for rel ebuilds as available from website
- if use doc; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake-utils_src_compile manual
- fi
use mpi || continue
einfo "Compiling for ${x} precision with mpi"
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\
@@ -283,7 +219,7 @@ src_install() {
BUILD_DIR="${WORKDIR}/${P}_${x}" \
cmake-utils_src_install
if use doc; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
+ newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" "${PN}-manual-${PV}.pdf"
fi
use mpi || continue
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \
diff --git a/sci-chemistry/gromacs/gromacs-2019.6.ebuild b/sci-chemistry/gromacs/gromacs-2019.6.ebuild
index 755bafef447a..e8541e9964ed 100644
--- a/sci-chemistry/gromacs/gromacs-2019.6.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2019.6.ebuild
@@ -5,22 +5,12 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python2_7 )
-
-inherit bash-completion-r1 cmake-utils cuda eutils multilib python-single-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ $PV = *9999* ]]; then
- EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
- https://gerrit.gromacs.org/gromacs.git
- https://github.com/gromacs/gromacs.git
- https://repo.or.cz/r/gromacs.git"
- [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 toolchain-funcs xdg-utils
+
+SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
+ doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${PV/_/-}.pdf )
test? ( http://gerrit.gromacs.org/download/regressiontests-${PV/_/-}.tar.gz )"
- KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-fi
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2"
@@ -53,17 +43,7 @@ CDEPEND="
"
BDEPEND="${CDEPEND}
virtual/pkgconfig
- doc? (
- app-doc/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
+ "
RDEPEND="${CDEPEND}"
REQUIRED_USE="
@@ -77,9 +57,7 @@ DOCS=( AUTHORS README )
RESTRICT="!test? ( test )"
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
+S="${WORKDIR}/${PN}-${PV/_/-}"
pkg_pretend() {
[[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
@@ -87,20 +65,6 @@ pkg_pretend() {
die "Please switch to an openmp compatible compiler"
}
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="git://git.gromacs.org/regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests" \
- git-r3_src_unpack
- fi
- fi
-}
-
src_prepare() {
#notes/todos
# -on apple: there is framework support
@@ -123,28 +87,6 @@ src_prepare() {
fi
DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
-
- # try to create policy for imagemagik
- mkdir -p ${HOME}/.config/ImageMagick
- cat >> ${HOME}/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
}
src_configure() {
@@ -194,7 +136,6 @@ src_configure() {
-DGMX_OPENMP=$(usex openmp)
-DGMX_COOL_QUOTES=$(usex offensive)
-DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex doc)
-DGMX_HWLOC=$(usex hwloc)
-DGMX_DEFAULT_SUFFIX=off
-DGMX_SIMD="$acce"
@@ -259,11 +200,6 @@ src_compile() {
einfo "Compiling for ${x} precision"
BUILD_DIR="${WORKDIR}/${P}_${x}"\
cmake-utils_src_compile
- # not 100% necessary for rel ebuilds as available from website
- if use doc; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake-utils_src_compile manual
- fi
use mpi || continue
einfo "Compiling for ${x} precision with mpi"
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\
@@ -283,7 +219,7 @@ src_install() {
BUILD_DIR="${WORKDIR}/${P}_${x}" \
cmake-utils_src_install
if use doc; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
+ newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" "${PN}-manual-${PV}.pdf"
fi
use mpi || continue
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \