diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-21 17:15:23 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-21 17:15:23 +0000 |
commit | 057998a38fc9674ab06dd86d25fb31ceab9e7e81 (patch) | |
tree | cd95602695f2faf80686418b78fd21d1ad8cabd6 /sci-libs/libnova | |
parent | x86 stable, bug #263218 (diff) | |
download | gentoo-2-057998a38fc9674ab06dd86d25fb31ceab9e7e81.tar.gz gentoo-2-057998a38fc9674ab06dd86d25fb31ceab9e7e81.tar.bz2 gentoo-2-057998a38fc9674ab06dd86d25fb31ceab9e7e81.zip |
Version bump, added longdescription.
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libnova')
-rw-r--r-- | sci-libs/libnova/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/libnova/libnova-0.12.3.ebuild | 52 | ||||
-rw-r--r-- | sci-libs/libnova/metadata.xml | 6 |
3 files changed, 66 insertions, 2 deletions
diff --git a/sci-libs/libnova/ChangeLog b/sci-libs/libnova/ChangeLog index c66bdea7a006..96a1615341c4 100644 --- a/sci-libs/libnova/ChangeLog +++ b/sci-libs/libnova/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/libnova -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.5 2008/11/02 07:11:28 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.6 2009/03/21 17:15:23 bicatali Exp $ + +*libnova-0.12.3 (21 Mar 2009) + + 21 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, + +libnova-0.12.3.ebuild: + Version bump, added longdescription. 02 Nov 2008; Mike Frysinger <vapier@gentoo.org> libnova-0.12.1.ebuild: Add ppc/ppc64 love for KDE 4. diff --git a/sci-libs/libnova/libnova-0.12.3.ebuild b/sci-libs/libnova/libnova-0.12.3.ebuild new file mode 100644 index 000000000000..d3442a1f3bef --- /dev/null +++ b/sci-libs/libnova/libnova-0.12.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/libnova-0.12.3.ebuild,v 1.1 2009/03/21 17:15:23 bicatali Exp $ + +EAPI=2 +inherit eutils autotools flag-o-matic + +DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library" +HOMEPAGE="http://libnova.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc examples" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.12.1-configure.patch + # 0.12.3 does not pass test with > -02 + replace-flags -O? -O1 + eautoreconf +} + +src_compile() { + emake || die "emake failed" + if use doc; then + cd doc + emake doc || die "emake in doc failed" + fi +} + +src_test() { + emake check || die "emake check failed" + "${S}"/lntest/lntest || die "lntest failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README || die + if use doc; then + dohtml doc/html/* || die "dohtml failed" + fi + if use examples; then + make clean + rm -f examples/Makefile* + insinto /usr/share/doc/${PF} + doins -r examples || die + fi +} diff --git a/sci-libs/libnova/metadata.xml b/sci-libs/libnova/metadata.xml index b229aec85b8f..fc9b116b7e4d 100644 --- a/sci-libs/libnova/metadata.xml +++ b/sci-libs/libnova/metadata.xml @@ -2,4 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> +<longdescription lang="en"> + libnova is a general purpose, double precision, astronomical + calculation library. The intended audience of libnova is C / C++ programmers, + astronomers and anyone else interested in calculating positions of + astronomical objects. +</longdescription> </pkgmetadata> |