/[gentoo-x86]/sci-libs/openmm/openmm-4.1.1.ebuild
Gentoo

Contents of /sci-libs/openmm/openmm-4.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Feb 5 05:44:25 2013 UTC (7 years, 5 months ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
clean up install locations

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key C2000586)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/openmm/openmm-4.1.1.ebuild,v 1.4 2013/01/08 19:22:39 ottxor Exp $
4
5 EAPI="5"
6
7 inherit cmake-utils
8
9 MY_P="${PN^^[om]}${PV}-Source"
10 DESCRIPTION="provides tools for modern molecular modeling simulation"
11 HOMEPAGE="https://simtk.org/home/openmm"
12 SRC_URI="mirror://gentoo/${MY_P}.zip"
13
14 LICENSE="MIT LGPL-2.1+ BSD RU-BSD"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="cuda opencl"
18
19 RDEPEND="
20 cuda? ( dev-util/nvidia-cuda-toolkit )
21 opencl? ( virtual/opencl )"
22 DEPEND="${RDEPEND}
23 dev-util/cmake"
24
25 S="${WORKDIR}/${MY_P}"
26
27 src_configure() {
28 mycmakeargs=(
29 $(cmake-utils_use cuda OPENMM_BUILD_CUDA_LIB)
30 $(cmake-utils_use opencl OPENMM_BUILD_OPENCL_LIB)
31 $(cmake-utils_use !cuda CUDA_BUILD_CUBIN)
32 $(cmake-utils_use opencl OPENMM_BUILD_RPMD_PLUGIN)
33 $(cmake-utils_use opencl OPENMM_BUILD_PYTHON_WRAPPERS)
34 ) # last 3 options are workarounds for broken build system
35
36 cmake-utils_src_configure
37 }

  ViewVC Help
Powered by ViewVC 1.1.20