diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2009-07-18 15:40:42 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2009-07-18 15:40:42 +0000 |
commit | 12baa9e6e29a295615e565f0886e7607eb9a7454 (patch) | |
tree | 4fb70560f66aa604a102b62df529fa27cc071516 /sci-chemistry | |
parent | Stable for HPPA (bug #274468). (diff) | |
download | gentoo-2-12baa9e6e29a295615e565f0886e7607eb9a7454.tar.gz gentoo-2-12baa9e6e29a295615e565f0886e7607eb9a7454.tar.bz2 gentoo-2-12baa9e6e29a295615e565f0886e7607eb9a7454.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/openbabel/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/openbabel/openbabel-2.2.2.ebuild | 60 |
2 files changed, 66 insertions, 1 deletions
diff --git a/sci-chemistry/openbabel/ChangeLog b/sci-chemistry/openbabel/ChangeLog index d839353e654b..1a51b119a924 100644 --- a/sci-chemistry/openbabel/ChangeLog +++ b/sci-chemistry/openbabel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/openbabel # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/ChangeLog,v 1.25 2009/06/13 10:18:31 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/ChangeLog,v 1.26 2009/07/18 15:40:42 cryos Exp $ + +*openbabel-2.2.2 (18 Jul 2009) + + 18 Jul 2009; Marcus D. Hanwell <cryos@gentoo.org> +openbabel-2.2.2.ebuild: + Version bump. 13 Jun 2009; Torsten Veller <tove@gentoo.org> openbabel-2.2.1.ebuild: Add missing die: "..." -> die "..." diff --git a/sci-chemistry/openbabel/openbabel-2.2.2.ebuild b/sci-chemistry/openbabel/openbabel-2.2.2.ebuild new file mode 100644 index 000000000000..90cbbf20ffaa --- /dev/null +++ b/sci-chemistry/openbabel/openbabel-2.2.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/openbabel-2.2.2.ebuild,v 1.1 2009/07/18 15:40:42 cryos Exp $ + +EAPI=1 + +inherit eutils + +DESCRIPTION="interconverts file formats used in molecular modeling" +HOMEPAGE="http://openbabel.sourceforge.net/" +SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="doc" + +RDEPEND="!sci-chemistry/babel + >=dev-libs/libxml2-2.6.5 + sys-libs/zlib" + +DEPEND="${RDEPEND} + >=dev-libs/boost-1.33.1 + dev-lang/perl + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-2.2.0-doxyfile.patch" +} + +src_compile() { + econf \ + --enable-static \ + || die "econf failed" + emake || die "emake failed" + if use doc ; then + emake docs || die "make docs failed" + fi +} + +src_test() { + emake check || die "make check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS + cd doc + dohtml *.html *.png + dodoc *.inc README* *.inc *.mol2 + if use doc ; then + dodir /usr/share/doc/${PF}/API/html + insinto /usr/share/doc/${PF}/API/html + cd API/html + doins * + fi +} + |