/[gentoo-x86]/sci-chemistry/avogadro/avogadro-0.9.9.ebuild
Gentoo

Contents of /sci-chemistry/avogadro/avogadro-0.9.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 26 16:26:52 2011 UTC (8 years, 5 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version Bump, cleaned old

(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-0.9.9.ebuild,v 1.2 2010/05/21 15:33:28 jlec Exp $
4
5 EAPI=2
6
7 PYTHON_DEPEND="python? 2:2.5"
8
9 inherit cmake-utils eutils python
10
11 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
12 HOMEPAGE="http://avogadro.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="+glsl python"
19
20 RDEPEND=">=sci-chemistry/openbabel-2.2.2
21 >=x11-libs/qt-gui-4.5.2:4
22 >=x11-libs/qt-opengl-4.5.2:4
23 glsl? ( >=media-libs/glew-1.5.0 )
24 python? (
25 >=dev-libs/boost-1.35
26 >=dev-libs/boost-1.35.0-r5[python]
27 dev-python/numpy
28 dev-python/sip
29 )"
30 DEPEND="${RDEPEND}
31 dev-cpp/eigen:2
32 >=dev-util/cmake-2.6.2"
33
34 pkg_setup() {
35 python_set_active_version 2
36 }
37
38 src_configure() {
39 local mycmakeargs
40 mycmakeargs="${mycmakeargs}
41 -DENABLE_THREADGL=FALSE
42 -DENABLE_RPATH=OFF
43 -DENABLE_UPDATE_CHECKER=OFF
44 $(cmake-utils_use_enable glsl GLSL)
45 $(cmake-utils_use_enable python PYTHON)"
46
47 cmake-utils_src_configure
48 }

  ViewVC Help
Powered by ViewVC 1.1.20