/[gentoo-x86]/sci-libs/avogadrolibs/avogadrolibs-0.7.2.ebuild
Gentoo

Contents of /sci-libs/avogadrolibs/avogadrolibs-0.7.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 16 19:26:41 2014 UTC (6 years ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
sci-libs/avogadrolibs: Fix double suffix

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

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-libs/avogadrolibs/avogadrolibs-0.7.2.ebuild,v 1.3 2014/01/16 18:56:42 jlec Exp $
4
5 EAPI=5
6
7 inherit cmake-utils
8
9 DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries"
10 HOMEPAGE="http://www.openchemistry.org/"
11 SRC_URI="mirror://sourceforge/project/avogadro/avogadro2/${PV}/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="BSD GPL-2+"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="doc opengl qt4 static-plugins test vtk"
17
18 REQUIRED_USE="qt4? ( opengl )"
19
20 RDEPEND="
21 >=sci-chemistry/molequeue-0.7
22 sci-libs/chemkit
23 sci-libs/hdf5
24 opengl? (
25 dev-qt/qtopengl
26 media-libs/glew
27 )
28 qt4? (
29 dev-qt/qtcore
30 dev-qt/qtgui
31 )
32 vtk? ( sci-libs/vtk )
33 "
34 DEPEND="${DEPEND}
35 test? ( dev-cpp/gtest )"
36
37 src_configure() {
38 local mycmakeargs=(
39 -DUSE_PROTOCALL=OFF
40 -DBUILD_GPL_PLUGINS=ON
41 $(cmake-utils_use_build doc DOCUMENTATION)
42 $(cmake-utils_use_use opengl OPENGL)
43 $(cmake-utils_use_use qt4 QT)
44 $(cmake-utils_use_build static-plugins STATIC_PLUGINS)
45 $(cmake-utils_use_enable test TESTING)
46 $(cmake-utils_use_use vtk VTK)
47 )
48 cmake-utils_src_configure
49 }

  ViewVC Help
Powered by ViewVC 1.1.20