diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2012-10-04 08:38:19 -0600 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2012-10-04 08:38:19 -0600 |
commit | ec696fcd94f02907ddb13c98daf18740f4097048 (patch) | |
tree | 709bb4b914fbdc1c6f962fbc9c18a0e2ae0202d7 /sci-chemistry/gromacs/gromacs-4.6.9999.ebuild | |
parent | live ebuild update (diff) | |
download | sci-ec696fcd94f02907ddb13c98daf18740f4097048.tar.gz sci-ec696fcd94f02907ddb13c98daf18740f4097048.tar.bz2 sci-ec696fcd94f02907ddb13c98daf18740f4097048.zip |
live ebuild update
(Portage version: 2.2.0_alpha135/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-4.6.9999.ebuild')
-rw-r--r-- | sci-chemistry/gromacs/gromacs-4.6.9999.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild index bbf4161d1..d95a7cfb9 100644 --- a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild @@ -5,7 +5,6 @@ EAPI="4" TEST_PV="4.0.4" -MANUAL_PV="4.5.4" #to find external blas/lapack CMAKE_MIN_VERSION="2.8.5-r2" @@ -14,8 +13,7 @@ CMAKE_MAKEFILE_GENERATOR="ninja" inherit bash-completion-r1 cmake-utils eutils fortran-2 multilib toolchain-funcs -SRC_URI="test? ( ftp://ftp.gromacs.org/pub/tests/gmxtest-${TEST_PV}.tgz ) - doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${MANUAL_PV}.pdf -> gromacs-manual-${MANUAL_PV}.pdf )" +SRC_URI="test? ( ftp://ftp.gromacs.org/pub/tests/gmxtest-${TEST_PV}.tgz )" if [[ $PV = *9999* ]]; then EGIT_REPO_URI="git://git.gromacs.org/gromacs.git @@ -24,6 +22,7 @@ if [[ $PV = *9999* ]]; then http://repo.or.cz/r/gromacs.git" EGIT_BRANCH="release-4-6" inherit git-2 + PDEPEND="doc? ( ~app-doc/gromacs-manual-${PV} )" else SRC_URI="${SRC_URI} ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz" fi @@ -55,8 +54,7 @@ CDEPEND=" xml? ( dev-libs/libxml2:2 )" DEPEND="${CDEPEND} virtual/pkgconfig" -RDEPEND="${CDEPEND} - app-shells/tcsh" +RDEPEND="${CDEPEND}" RESTRICT="test" @@ -120,9 +118,6 @@ src_configure() { use avx128fma && acce="AVX_128_FMA" use avx256 && acce="AVX_256" - #workaround for now - use sse2 && CFLAGS+=" -msse2" - #to create man pages, build tree binaries are executed (bug #398437) [[ ${CHOST} = *-darwin* ]] && \ extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF" @@ -208,8 +203,11 @@ src_install() { cd "${S}" dodoc AUTHORS INSTALL* README* if use doc; then - newdoc "${DISTDIR}/gromacs-manual-${MANUAL_PV}.pdf" "manual-${MANUAL_PV}.pdf" dohtml -r "${ED}usr/share/gromacs/html/" + insinto /usr/share/gromacs + doins "admin/programs.txt" + ls -1 "${ED}"/usr/bin | sed -e '/_d$/d' > "${T}"/programs.list + doins "${T}"/programs.list fi rm -rf "${ED}usr/share/gromacs/html/" } |