diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2007-01-18 15:06:03 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2007-01-18 15:06:03 +0000 |
commit | a3a1b3f269e663888e4a501706fec53d370845f9 (patch) | |
tree | 570c43b90b3ba82df9cdb4643263ad309673c1f0 /sci-chemistry | |
parent | Add ~sparc keyword. Builds, runs all tests, and installs without any problems. (diff) | |
download | gentoo-2-a3a1b3f269e663888e4a501706fec53d370845f9.tar.gz gentoo-2-a3a1b3f269e663888e4a501706fec53d370845f9.tar.bz2 gentoo-2-a3a1b3f269e663888e4a501706fec53d370845f9.zip |
Version bump to 2.10.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/ghemical/files/digest-ghemical-2.10 | 3 | ||||
-rw-r--r-- | sci-chemistry/ghemical/ghemical-2.10.ebuild | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-chemistry/ghemical/files/digest-ghemical-2.10 b/sci-chemistry/ghemical/files/digest-ghemical-2.10 new file mode 100644 index 000000000000..284064936b24 --- /dev/null +++ b/sci-chemistry/ghemical/files/digest-ghemical-2.10 @@ -0,0 +1,3 @@ +MD5 f5d641567b106bcb92e94ebce26463b9 ghemical-2.10.tar.gz 2153033 +RMD160 1707c0fbb0a7b83b3d2be868b9c3a893b153ea9d ghemical-2.10.tar.gz 2153033 +SHA256 9ab934eabafef5ec6375ded7b334f4c54f74dbdcf72330303a3888907922215e ghemical-2.10.tar.gz 2153033 diff --git a/sci-chemistry/ghemical/ghemical-2.10.ebuild b/sci-chemistry/ghemical/ghemical-2.10.ebuild new file mode 100644 index 000000000000..1999b9be135f --- /dev/null +++ b/sci-chemistry/ghemical/ghemical-2.10.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-2.10.ebuild,v 1.1 2007/01/18 15:06:03 je_fro Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Chemical quantum mechanics and molecular mechanics" +HOMEPAGE="http://bioinformatics.org/ghemical/" + +SRC_URI="http://bioinformatics.org/ghemical/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="threads openbabel gamess mopac7 toolbar seamonkey" +RDEPEND="virtual/glut + virtual/glu + virtual/opengl + sci-chemistry/mpqc + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXt + x11-libs/pango + >=x11-libs/gtk+-2.6 + >=x11-libs/gtkglext-1.0.5 + >=gnome-base/libglade-2.4 + >=sci-libs/libghemical-2.10 + openbabel? ( >=sci-chemistry/openbabel-2 ) + threads? ( >=dev-libs/glib-2.4 ) + mopac7? ( sci-chemistry/mopac7 ) + gamess? ( sci-chemistry/gamess + sci-chemistry/gtk-gamess )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15" + + +src_compile() { + +# With amd64, if you want gamess I recommend adding gamess and gtk-gamess to package.provided for now. + +# Change the built-in help browser. + if use seamonkey ; then + sed -i -e 's|mozilla|seamonkey|g' src/main.cpp || die "sed failed for seamonkey!" + else + sed -i -e 's|mozilla|firefox|g' src/main.cpp || die "sed failed for seamonkey!" + fi + + # For libf2c + if use mopac7; then + append-ldflags -lf2c -lm -Xlinker -defsym -Xlinker MAIN__=main + fi + + econf \ + $(use_enable toolbar shortcuts) \ + $(use_enable openbabel) \ + $(use_enable threads) \ + $(use_enable gamess) \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + + make DESTDIR="${D}" install || die "install failed" +} + |