diff options
author | Hector Mtz-Seara | 2017-09-05 09:07:04 +0200 |
---|---|---|
committer | Hector Mtz-Seara | 2017-09-05 09:07:04 +0200 |
commit | b07091ec0f17e45b90e26f038655df3530007cfa (patch) | |
tree | 4d6c2f64a5c95ef75ceb0763e05549e96b19baa9 | |
parent | b81b78069d8c67b33e6cbbcd927bc2b6c2c25e27 (diff) | |
download | aur-b07091ec0f17e45b90e26f038655df3530007cfa.tar.gz |
Refined dependencies and added CMAKE_CXX_FLAGS=-std=c++11
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 13 insertions, 10 deletions
@@ -1,19 +1,17 @@ pkgbase = gromacs-5.1-complete pkgdesc = A versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles. pkgver = 5.1.4 - pkgrel = 1 + pkgrel = 2 url = http://www.gromacs.org/ arch = i686 arch = x86_64 license = LGPL makedepends = cmake + makedepends = libxml2 depends = gcc5 - depends = fftw - depends = lesstif - depends = perl - depends = libxml2 - depends = libsm - depends = libx11 + optdepends = cuda: Nvidia GPU support + optdepends = openmotif: needed for gmx view + optdepends = libx11: needed for gmx view options = !libtool source = ftp://ftp.gromacs.org/pub/gromacs/gromacs-5.1.4.tar.gz source = GMXRC.bash.cmakein.patch @@ -2,13 +2,16 @@ pkgname=gromacs-5.1-complete pkgver=5.1.4 -pkgrel=1 +pkgrel=2 pkgdesc='A versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.' url='http://www.gromacs.org/' license=("LGPL") arch=('i686' 'x86_64') -depends=('gcc5' 'fftw' 'lesstif' 'perl' 'libxml2' 'libsm' 'libx11') -makedepends=('cmake') +depends=('gcc5') +optdepends=('cuda: Nvidia GPU support' + 'openmotif: needed for gmx view' + 'libx11: needed for gmx view') +makedepends=('cmake' 'libxml2') options=('!libtool') source=(ftp://ftp.gromacs.org/pub/gromacs/gromacs-${pkgver}.tar.gz GMXRC.bash.cmakein.patch) @@ -51,6 +54,7 @@ build() { -DGMX_DOUBLE=ON \ -DREGRESSIONTEST_DOWNLOAD=ON \ -DGMX_BUILD_OWN_FFTW=ON \ + -DCMAKE_CXX_FLAGS="-std=c++11" \ -DGMX_LIBS_SUFFIX=_d make @@ -62,6 +66,7 @@ build() { -DGMX_X11=ON \ -DREGRESSIONTEST_DOWNLOAD=ON \ -DGMX_BUILD_OWN_FFTW=ON \ + -DCMAKE_CXX_FLAGS="-std=c++11" \ -DCMAKE_INSTALL_LIBDIR=lib make } |