diff options
author | 2008-11-27 19:19:26 +0000 | |
---|---|---|
committer | 2008-11-27 19:19:26 +0000 | |
commit | 3b7ca252ab4143c97e318f2a219f726593e09a5d (patch) | |
tree | e139f0616c8433b3e8a286de93439aa84b8fb26c /sci-libs/libghemical/libghemical-2.98.ebuild | |
parent | Bump to 1.14 (diff) | |
download | gentoo-2-3b7ca252ab4143c97e318f2a219f726593e09a5d.tar.gz gentoo-2-3b7ca252ab4143c97e318f2a219f726593e09a5d.tar.bz2 gentoo-2-3b7ca252ab4143c97e318f2a219f726593e09a5d.zip |
Bump to 2.98
(Portage version: 2.2_rc16/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'sci-libs/libghemical/libghemical-2.98.ebuild')
-rw-r--r-- | sci-libs/libghemical/libghemical-2.98.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/libghemical/libghemical-2.98.ebuild b/sci-libs/libghemical/libghemical-2.98.ebuild new file mode 100644 index 000000000000..52c2c6eab453 --- /dev/null +++ b/sci-libs/libghemical/libghemical-2.98.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libghemical/libghemical-2.98.ebuild,v 1.1 2008/11/27 19:19:26 patrick Exp $ + +inherit autotools + +DESCRIPTION="Chemical quantum mechanics and molecular mechanics" +HOMEPAGE="http://bioinformatics.org/ghemical/" +SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="mopac7 mpqc" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15" +RDEPEND="mopac7? ( >=sci-chemistry/mopac7-1.13-r1 ) + mpqc? ( >=sci-chemistry/mpqc-2.3.1-r1 + virtual/blas + virtual/lapack )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-gcc43.patch + eautoreconf +} + +src_compile() { + econf \ + $(use_enable mopac7) \ + $(use_enable mpqc) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} |