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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 19 20:17:57 2008 UTC (11 years, 4 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Removed old versions.
(Portage version: 2.1.5)

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

  ViewVC Help
Powered by ViewVC 1.1.20