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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 1 18:22:09 2009 UTC (10 years, 7 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, new version fixes bug 259643. Pruned old versions.
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.6.1.ebuild,v 1.2 2008/08/12 00:26:00 yngwin Exp $
4
5 EAPI=1
6 RESTRICT="mirror"
7
8 inherit toolchain-funcs multilib
9
10 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
11 HOMEPAGE="http://avogadro.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 DEPEND=">=dev-util/cmake-2.4.6
20 >=dev-cpp/eigen-1.0.5
21 ${RDEPEND}"
22 RDEPEND="|| ( ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) =x11-libs/qt-4.3* )
23 >=sci-chemistry/openbabel-2.2.0_beta4"
24
25 src_compile() {
26 cmake -DCMAKE_INSTALL_PREFIX=/usr \
27 -DLIBRARY_OUTPUT_PATH=PROJECT_BINARY_DIR/$(get_libdir) \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DLIB_INSTALL_DIR=$(get_libdir) \
30 -DCMAKE_C_COMPILER=$(type -p $(tc-getCC)) \
31 -DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX)) || die "cmake failed"
32 emake || die "emake failed"
33 }
34
35 src_install() {
36 make DESTDIR="${D}" install || die "make install failed"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20