/[gentoo-x86]/sci-physics/espresso++/espresso++-1.9.2.ebuild
Gentoo

Contents of /sci-physics/espresso++/espresso++-1.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 7 12:06:32 2014 UTC (3 years, 4 months ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
version bump

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key C2000586)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 CMAKE_MAKEFILE_GENERATOR="ninja"
9
10 inherit cmake-utils multilib python-single-r1
11
12 DESCRIPTION="extensible, flexible, fast and parallel simulation software for soft matter research"
13 HOMEPAGE="https://www.espresso-pp.de"
14
15 if [[ ${PV} = 9999 ]]; then
16 EHG_REPO_URI="https://bitbucket.org/${PN//+/p}/${PN//+/p}"
17 EHG_REVISION="default"
18 inherit mercurial
19 KEYWORDS=
20 else
21 inherit vcs-snapshot
22 #SRC_URI="https://espressopp.mpip-mainz.mpg.de/Download/${PN//+/p}-${PV}.tgz"
23 SRC_URI="https://bitbucket.org/${PN//+/p}/${PN//+/p}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
24 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
25 fi
26
27 LICENSE="GPL-3"
28 SLOT="0"
29 IUSE=""
30
31 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
32
33 RDEPEND="${PYTHON_DEPS}
34 virtual/mpi
35 dev-libs/boost[python,mpi,${PYTHON_USEDEP}]
36 sci-libs/fftw:3.0
37 dev-python/mpi4py"
38 DEPEND="${RDEPEND}"
39
40 DOCS=( AUTHORS NEWS README )
41
42 src_configure() {
43 mycmakeargs=(
44 -DEXTERNAL_BOOST=ON
45 -DEXTERNAL_MPI4PY=ON
46 -DLIB="$(get_libdir)"
47 -DWITH_RC_FILES=OFF
48 )
49 cmake-utils_src_configure
50 }

  ViewVC Help
Powered by ViewVC 1.1.20