diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 05:57:09 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 05:57:09 +0000 |
commit | 7b94a9fee7666503636afd5a531bd5c9280ae22b (patch) | |
tree | fbf73a990cdd8c63d5cbb633e009b09939251a10 /sci-chemistry/ghemical | |
parent | Bump (diff) | |
download | gentoo-2-7b94a9fee7666503636afd5a531bd5c9280ae22b.tar.gz gentoo-2-7b94a9fee7666503636afd5a531bd5c9280ae22b.tar.bz2 gentoo-2-7b94a9fee7666503636afd5a531bd5c9280ae22b.zip |
Bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-chemistry/ghemical')
-rw-r--r-- | sci-chemistry/ghemical/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/ghemical/ghemical-3.0.0.ebuild | 55 |
2 files changed, 62 insertions, 2 deletions
diff --git a/sci-chemistry/ghemical/ChangeLog b/sci-chemistry/ghemical/ChangeLog index cdefcd44e344..d03523899f22 100644 --- a/sci-chemistry/ghemical/ChangeLog +++ b/sci-chemistry/ghemical/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/ghemical -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.39 2012/05/04 07:02:33 jdhore Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.40 2013/02/02 05:57:09 patrick Exp $ + +*ghemical-3.0.0 (02 Feb 2013) + + 02 Feb 2013; Patrick Lauer <patrick@gentoo.org> +ghemical-3.0.0.ebuild: + Bump 04 May 2012; Jeff Horelick <jdhore@gentoo.org> ghemical-2.01.ebuild, ghemical-2.99.2-r2.ebuild: diff --git a/sci-chemistry/ghemical/ghemical-3.0.0.ebuild b/sci-chemistry/ghemical/ghemical-3.0.0.ebuild new file mode 100644 index 000000000000..5e2e1220d197 --- /dev/null +++ b/sci-chemistry/ghemical/ghemical-3.0.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-3.0.0.ebuild,v 1.1 2013/02/02 05:57:09 patrick Exp $ + +EAPI="3" + +inherit autotools eutils + +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 ~ppc ~x86" +IUSE="openbabel seamonkey threads" + +RDEPEND=" + dev-libs/glib:2 + gnome-base/libglade:2.0 + sci-chemistry/mpqc + >=sci-libs/libghemical-3.0.0 + >=x11-libs/liboglappth-1.0.0 + virtual/opengl + x11-libs/pango + x11-libs/gtk+:2 + x11-libs/gtkglext + openbabel? ( sci-chemistry/openbabel )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/2.99.2-docs.patch + eautoreconf +} + +src_configure() { +# 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 firefox!" + fi + + econf \ + $(use_enable openbabel) \ + $(use_enable threads) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + make_desktop_entry /usr/bin/ghemical Ghemical /usr/share/ghemical/${PV}/pixmaps/ghemical.png +} |