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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Dec 10 01:16:50 2007 UTC (11 years, 10 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Removed old version, updated to use release build type.
(Portage version: 2.1.4_rc9)

1 # Copyright 1999-2007 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.1.0.ebuild,v 1.3 2007/10/23 17:52:53 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.3
17 >=dev-cpp/eigen-1.0.5
18 ${RDEPEND}"
19 RDEPEND=">=x11-libs/qt-4.2.3
20 >=sci-chemistry/openbabel-2.1.0"
21
22 src_compile() {
23 cmake -DCMAKE_INSTALL_PREFIX=/usr \
24 -DLIBRARY_OUTPUT_PATH=PROJECT_BINARY_DIR/$(get_libdir) \
25 -DLIB_INSTALL_DIR=$(get_libdir) \
26 -DCMAKE_C_COMPILER=$(type -p $(tc-getCC)) \
27 -DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX)) || die "cmake failed"
28 emake || die "emake failed"
29 }
30
31 src_install() {
32 make DESTDIR="${D}" install || die "make install failed"
33 }

  ViewVC Help
Powered by ViewVC 1.1.20