summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-11-25 19:52:47 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-11-25 19:52:47 +0000
commit0fd5b2924420945bc9404073e72e2f6281c12c62 (patch)
tree6c0d619c38d5370cf401a645769aaacf03b3ecf2 /sci-libs/libnova
parentExport correct directories for libgtkembedmoz. (diff)
downloadhistorical-0fd5b2924420945bc9404073e72e2f6281c12c62.tar.gz
historical-0fd5b2924420945bc9404073e72e2f6281c12c62.tar.bz2
historical-0fd5b2924420945bc9404073e72e2f6281c12c62.zip
Version bump, added src_test, doc use flag, and modernized the ebuild. Closing bug #150774.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'sci-libs/libnova')
-rw-r--r--sci-libs/libnova/ChangeLog9
-rw-r--r--sci-libs/libnova/Manifest28
-rw-r--r--sci-libs/libnova/files/digest-libnova-0.12.13
-rw-r--r--sci-libs/libnova/files/libnova-0.12.1-configure.patch17
-rw-r--r--sci-libs/libnova/libnova-0.12.1.ebuild53
5 files changed, 101 insertions, 9 deletions
diff --git a/sci-libs/libnova/ChangeLog b/sci-libs/libnova/ChangeLog
index 7c857735b5c3..4df61622bf0e 100644
--- a/sci-libs/libnova/ChangeLog
+++ b/sci-libs/libnova/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/libnova
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.3 2007/02/09 05:23:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.4 2007/11/25 19:52:46 bicatali Exp $
+
+*libnova-0.12.1 (25 Nov 2007)
+
+ 25 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/libnova-0.12.1-configure.patch, +libnova-0.12.1.ebuild:
+ Version bump, added src_test, doc use flag, and modernized the ebuild.
+ Closing bug #150774.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest
index 2850b8e3b9d7..417f6d8425df 100644
--- a/sci-libs/libnova/Manifest
+++ b/sci-libs/libnova/Manifest
@@ -1,26 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libnova-0.12.1-configure.patch 331 RMD160 38d01f31a144a9bc16722aa4ed00a2baa54964d3 SHA1 78f6083b747134ff798f4fd9b203808094868684 SHA256 7646e2c2c87f56cefb15d9fca2b12a117db4db2f0f398a220b74fa64776d60fb
+MD5 75c3ee9fc838ad9e41650ae45af34a76 files/libnova-0.12.1-configure.patch 331
+RMD160 38d01f31a144a9bc16722aa4ed00a2baa54964d3 files/libnova-0.12.1-configure.patch 331
+SHA256 7646e2c2c87f56cefb15d9fca2b12a117db4db2f0f398a220b74fa64776d60fb files/libnova-0.12.1-configure.patch 331
+DIST libnova-0.12.1.tar.gz 1498120 RMD160 a93d8a860814f16e5440ae81a2675eac1ea33aa6 SHA1 b27d9b0d6f02f4303a790bce56571f85f2492e75 SHA256 8053445e862413a8e042264290da7d70bfa2ed46b4596c86b67962820b61462f
DIST libnova-0.7.0.tar.gz 1343534 RMD160 63948b72d24ece92e68af55bafe8db482c07bab6 SHA1 c8c555ab852ca6bf07a66389df5d88bc721ff118 SHA256 0242afa8155c19d01c15ca21ead4e504b91680820568d5bf0f8f67bdf05a7b0e
+EBUILD libnova-0.12.1.ebuild 1276 RMD160 e3a1af0df9fe504d94e3d5102c1e31d3a62c7aa4 SHA1 68b23a458fccf7d95d980a4b454ec020b9e06bf1 SHA256 9c7fe5bcae8c473553fbef296521558e774411f3306e69c54680a21640819992
+MD5 350543d6d608c929017f990ac868900c libnova-0.12.1.ebuild 1276
+RMD160 e3a1af0df9fe504d94e3d5102c1e31d3a62c7aa4 libnova-0.12.1.ebuild 1276
+SHA256 9c7fe5bcae8c473553fbef296521558e774411f3306e69c54680a21640819992 libnova-0.12.1.ebuild 1276
EBUILD libnova-0.7.0.ebuild 957 RMD160 03df369f1b16ca2db5e506f9831e4f0935f39ea6 SHA1 87ba4b686b67f732a767d6988e16c2479fafc00c SHA256 9c959ff613bd4085de7a5017a48ce694e17642c002d8869b466ac1e31fd19dba
MD5 90cafdf2eebef71acca0993efdc4e12e libnova-0.7.0.ebuild 957
RMD160 03df369f1b16ca2db5e506f9831e4f0935f39ea6 libnova-0.7.0.ebuild 957
SHA256 9c959ff613bd4085de7a5017a48ce694e17642c002d8869b466ac1e31fd19dba libnova-0.7.0.ebuild 957
-MISC ChangeLog 611 RMD160 5d3d96e140cc6a7997da0cdda9c9434ab5756afe SHA1 cc3357b8eeb3010f94b90fa42b43ae51a456ce92 SHA256 92ad97b75815ecec9c177d6ba105c7418ac2dc8eda888acf85995c47c01483ff
-MD5 255c767b65f5dff5beac29adfd13175f ChangeLog 611
-RMD160 5d3d96e140cc6a7997da0cdda9c9434ab5756afe ChangeLog 611
-SHA256 92ad97b75815ecec9c177d6ba105c7418ac2dc8eda888acf85995c47c01483ff ChangeLog 611
+MISC ChangeLog 858 RMD160 7368d196dc7d40f83ce854966b9aabe61c913d09 SHA1 2c5bd7328fd70d6012accfb07f79ee231d3c67ae SHA256 18952473818607121e485188938c556d6245f8d0d56375252c9541394fc348fe
+MD5 abf6fa8ac06ef59afa3181863a2da0b3 ChangeLog 858
+RMD160 7368d196dc7d40f83ce854966b9aabe61c913d09 ChangeLog 858
+SHA256 18952473818607121e485188938c556d6245f8d0d56375252c9541394fc348fe ChangeLog 858
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+MD5 2fc8a20a7a0e91af199d2f06900b3708 files/digest-libnova-0.12.1 247
+RMD160 b52e610dfde363275ee14cbb395782f3765cbb6e files/digest-libnova-0.12.1 247
+SHA256 f26264a9363d3b0f2e52c410281da0b02f02571f47adf596656e3a7df46ed976 files/digest-libnova-0.12.1 247
MD5 464b37e3665ed2d4c333601cf78f43b7 files/digest-libnova-0.7.0 244
RMD160 82bf1671789546c09e40f20d2e4aebe57cd01973 files/digest-libnova-0.7.0 244
SHA256 298f2ee144b156823fb89a8b6a78b7d929a6aa5b3596aaaf85855a291388b829 files/digest-libnova-0.7.0 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFFzAVFAiZjviIA2XgRAmhCAJ4otcm/toihX4LfFNOntS53Lgfv5QCdGq48
-fsDrwYDnYZ6JbaBxHl1mDoY=
-=8KHf
+iD8DBQFHSdKV1ycZbhPLE2ARAr7MAJ9i2iyGK88Gnbs+NiWtyCfB//PGyQCfTUtg
+4VxEy0OxOXntpL2ToMAe0RY=
+=xZws
-----END PGP SIGNATURE-----
diff --git a/sci-libs/libnova/files/digest-libnova-0.12.1 b/sci-libs/libnova/files/digest-libnova-0.12.1
new file mode 100644
index 000000000000..1ef6c5e61c7e
--- /dev/null
+++ b/sci-libs/libnova/files/digest-libnova-0.12.1
@@ -0,0 +1,3 @@
+MD5 f0bffb2eb0bfa041e4c4d9764aadd94d libnova-0.12.1.tar.gz 1498120
+RMD160 a93d8a860814f16e5440ae81a2675eac1ea33aa6 libnova-0.12.1.tar.gz 1498120
+SHA256 8053445e862413a8e042264290da7d70bfa2ed46b4596c86b67962820b61462f libnova-0.12.1.tar.gz 1498120
diff --git a/sci-libs/libnova/files/libnova-0.12.1-configure.patch b/sci-libs/libnova/files/libnova-0.12.1-configure.patch
new file mode 100644
index 000000000000..b87b27d75dc9
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.12.1-configure.patch
@@ -0,0 +1,17 @@
+--- configure.in.orig 2007-11-25 19:24:54.503391146 +0000
++++ configure.in 2007-11-25 19:26:16.736077320 +0000
+@@ -54,7 +54,6 @@
+ AC_STRUCT_TM
+
+ LIBS="$LIBS -lm"
+-CFLAGS=-Wall
+
+ # Checks for header files.
+ AC_HEADER_STDC
+@@ -74,5 +73,6 @@
+ src/libnova/Makefile
+ lntest/Makefile
+ doc/Makefile
++doc/doxyfile
+ examples/Makefile
+ ])
diff --git a/sci-libs/libnova/libnova-0.12.1.ebuild b/sci-libs/libnova/libnova-0.12.1.ebuild
new file mode 100644
index 000000000000..5c8b874739d5
--- /dev/null
+++ b/sci-libs/libnova/libnova-0.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/libnova-0.12.1.ebuild,v 1.1 2007/11/25 19:52:46 bicatali Exp $
+
+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 ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # patch to use user's cflags and make doxygen working
+ epatch "${FILESDIR}"/${P}-configure.patch
+ eautoconf
+}
+
+src_compile() {
+ # 0.12.1 does not pass test with > -02
+ replace-flags -O? -O1
+
+ econf || die "econf failed"
+ 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"
+ make clean
+ rm -f examples/Makefile*
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}