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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 18 15:45:39 2009 UTC (10 years, 3 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, pruned old versions.
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.4.ebuild,v 1.1 2009/05/02 22:24:07 cryos Exp $
4
5 EAPI=2
6
7 inherit cmake-utils
8
9 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
10 HOMEPAGE="http://avogadro.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+glsl python"
17
18 # boost deps look like that because -r5 and later have a python useflag we need
19 RDEPEND=">=sci-chemistry/openbabel-2.2.1
20 >=x11-libs/qt-gui-4.4.0:4
21 >=x11-libs/qt-opengl-4.4.0:4
22 glsl? ( >=media-libs/glew-1.5.0 )
23 python? (
24 >=dev-lang/python-2.5
25 >=dev-libs/boost-1.35
26 || ( >=dev-libs/boost-1.35.0-r5[python] <dev-libs/boost-1.35.0-r5 )
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 src_configure() {
35 local mycmakeargs
36 mycmakeargs="${mycmakeargs}
37 -DENABLE_THREADGL=FALSE
38 -DENABLE_RPATH=OFF
39 $(cmake-utils_use_enable glsl GLSL)
40 $(cmake-utils_use_enable python PYTHON)"
41
42 cmake-utils_src_configure
43 }

  ViewVC Help
Powered by ViewVC 1.1.20