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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Nov 13 17:52:48 2014 UTC (3 years, 11 months ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
forgotten deps fix

(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: /var/cvsroot/gentoo-x86/sci-physics/espresso++/espresso++-1.9.3.ebuild,v 1.1 2014/11/13 17:36:43 ottxor Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 CMAKE_MAKEFILE_GENERATOR="ninja"
9
10 inherit cmake-utils 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 inherit mercurial
18 KEYWORDS=
19 else
20 inherit vcs-snapshot
21 #SRC_URI="https://espressopp.mpip-mainz.mpg.de/Download/${PN//+/p}-${PV}.tgz"
22 SRC_URI="https://bitbucket.org/${PN//+/p}/${PN//+/p}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
23 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
24 fi
25
26 LICENSE="GPL-3"
27 SLOT="0"
28 IUSE=""
29
30 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
31
32 RDEPEND="${PYTHON_DEPS}
33 virtual/mpi
34 dev-libs/boost:=[python,mpi,${PYTHON_USEDEP}]
35 sci-libs/fftw:3.0
36 dev-python/mpi4py"
37 DEPEND="${RDEPEND}"
38
39 src_configure() {
40 local mycmakeargs=(
41 -DEXTERNAL_BOOST=ON
42 -DEXTERNAL_MPI4PY=ON
43 -DWITH_RC_FILES=OFF
44 )
45 cmake-utils_src_configure
46 }

  ViewVC Help
Powered by ViewVC 1.1.20