summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2008-11-27 19:53:24 +0000
committerPatrick Lauer <patrick@gentoo.org>2008-11-27 19:53:24 +0000
commita5eadd1faeb58703f93fc595d57790c4c928681b (patch)
tree77f9fb848571f68c4e206311363495c29ae0fc33 /sci-chemistry
parentFix boinc-6.2.15 so it actualy works without bindist. Fixes bug 248749. (diff)
downloadgentoo-2-a5eadd1faeb58703f93fc595d57790c4c928681b.tar.gz
gentoo-2-a5eadd1faeb58703f93fc595d57790c4c928681b.tar.bz2
gentoo-2-a5eadd1faeb58703f93fc595d57790c4c928681b.zip
Bump to 2.98
(Portage version: 2.2_rc16/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/ghemical/ChangeLog7
-rw-r--r--sci-chemistry/ghemical/ghemical-2.98.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/sci-chemistry/ghemical/ChangeLog b/sci-chemistry/ghemical/ChangeLog
index 0cbfc5ba90d2..83e29f81ad2f 100644
--- a/sci-chemistry/ghemical/ChangeLog
+++ b/sci-chemistry/ghemical/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/ghemical
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.26 2008/08/06 15:35:02 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.27 2008/11/27 19:53:24 patrick Exp $
+
+*ghemical-2.98 (27 Nov 2008)
+
+ 27 Nov 2008; Patrick Lauer <patrick@gentoo.org> +ghemical-2.98.ebuild:
+ Bump to 2.98
06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
diff --git a/sci-chemistry/ghemical/ghemical-2.98.ebuild b/sci-chemistry/ghemical/ghemical-2.98.ebuild
new file mode 100644
index 000000000000..24ef3db6818a
--- /dev/null
+++ b/sci-chemistry/ghemical/ghemical-2.98.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-2.98.ebuild,v 1.1 2008/11/27 19:53:24 patrick 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/current/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="threads openbabel 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.96
+ >=x11-libs/liboglappth-0.96
+ openbabel? ( >=sci-chemistry/openbabel-2 )
+ threads? ( >=dev-libs/glib-2.4 )"
+
+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/gtk_app.cpp || die "sed failed for seamonkey!"
+ else
+ sed -i -e 's|mozilla|firefox|g' src/gtk_app.cpp || die "sed failed for seamonkey!"
+ fi
+
+ econf \
+ $(use_enable openbabel) \
+ $(use_enable threads) \
+ || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+}