DIST ghemical-2.01.tar.gz 2060867 RMD160 18332ba3067c463948671d220f7b0a693fe47aa1 SHA1 b5503e178fce2bf449e19b59a62c9bc12003fa85 SHA256 a0d5cc14b53cf132634f053f8779d0e720eb3d92e90ae154d4f41133beb8c4ae
+DIST ghemical-2.10.tar.gz 2153033 RMD160 1707c0fbb0a7b83b3d2be868b9c3a893b153ea9d SHA1 357f57c786816b4b99f59a79a0786954324a1627 SHA256 9ab934eabafef5ec6375ded7b334f4c54f74dbdcf72330303a3888907922215e
EBUILD ghemical-2.01.ebuild 1313 RMD160 3bf395623e6be7d0cf8c1a9aca2ee14b34312b31 SHA1 e953f3a57a59b06846aaa7334887b08bb6a7ea67 SHA256 69e0c69024970c8fba43f65ff148ac0113b9e928e5a3a0f180fca16152cec687
MD5 f0eb73781de1fb26f6c5332cc27bd345 ghemical-2.01.ebuild 1313
RMD160 3bf395623e6be7d0cf8c1a9aca2ee14b34312b31 ghemical-2.01.ebuild 1313
SHA256 69e0c69024970c8fba43f65ff148ac0113b9e928e5a3a0f180fca16152cec687 ghemical-2.01.ebuild 1313
+EBUILD ghemical-2.10.ebuild 1794 RMD160 2c8ecd0699d6ca2c6c0c44faf32e8033ddb25df6 SHA1 c6cc42ab6435b27787744edb01a637bc498e58c8 SHA256 7ea761f68bb5fdfe2ed82ac689d3680272f2bbdd461da6092d5d8fe29b50ae4d
+MD5 42a92de91f502440e39d2acd16f0360c ghemical-2.10.ebuild 1794
+RMD160 2c8ecd0699d6ca2c6c0c44faf32e8033ddb25df6 ghemical-2.10.ebuild 1794
+SHA256 7ea761f68bb5fdfe2ed82ac689d3680272f2bbdd461da6092d5d8fe29b50ae4d ghemical-2.10.ebuild 1794
MISC ChangeLog 4283 RMD160 6cd784bbdc5aa8af328be497fbbc5a332b3acaa5 SHA1 e60a4ba6f824babfa65a2d83c4f73a3c8594a3c4 SHA256 86fc95fa329bb9ffabc50bffdd694f3590939d3273a422edc5480a223a1a0cfd
MD5 01d919584d4d392cd153b45b79d4342a ChangeLog 4283
RMD160 6cd784bbdc5aa8af328be497fbbc5a332b3acaa5 ChangeLog 4283
MD5 c46f2d2327580374f93ea82eb1d7d889 files/digest-ghemical-2.01 244
RMD160 8cb543e747df849d2138a4c62f80440731ef7276 files/digest-ghemical-2.01 244
SHA256 c6332da3268b8bab8c0b7d8b1aaec57dc504142d15ed6e883ae25edc8f994191 files/digest-ghemical-2.01 244
+MD5 cb5e8b7063d648fbd4982eab009ced27 files/digest-ghemical-2.10 244
+RMD160 014a5b0d9ecb1bc16e9120f9e544bea1cb453df0 files/digest-ghemical-2.10 244
+SHA256 1d06769af1572d244210a32802a244e8934594c313866b4b633b4a0d581c12ea files/digest-ghemical-2.10 244
--- /dev/null
+# 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"
+}
+