diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/libnova |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/libnova')
-rw-r--r-- | sci-libs/libnova/Manifest | 10 | ||||
-rw-r--r-- | sci-libs/libnova/files/libnova-0.12.1-configure.patch | 17 | ||||
-rw-r--r-- | sci-libs/libnova/libnova-0.12.3.ebuild | 51 | ||||
-rw-r--r-- | sci-libs/libnova/libnova-0.14.0.ebuild | 39 | ||||
-rw-r--r-- | sci-libs/libnova/libnova-0.15.0.ebuild | 40 | ||||
-rw-r--r-- | sci-libs/libnova/metadata.xml | 17 |
6 files changed, 174 insertions, 0 deletions
diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest new file mode 100644 index 000000000000..9fd9511ce22a --- /dev/null +++ b/sci-libs/libnova/Manifest @@ -0,0 +1,10 @@ +AUX libnova-0.12.1-configure.patch 331 SHA256 7646e2c2c87f56cefb15d9fca2b12a117db4db2f0f398a220b74fa64776d60fb SHA512 fda0ca74341894b544dcf4261bb2abb438dc26c7021c575e45bda0d8215a612a4b3f5456e0f115fd52cbe11c7f79a5cf0f2322bb5f85bd978fffa5c377858f02 WHIRLPOOL 77fc76b4c7cd6ee1a858115d7a2b7f7caea1aba730e857d6e17866b487a2632e8555fcb978fb0ced2a97af6aca073f9284bb8fc7cdb52601c33102c2ac79ee6a +DIST libnova-0.12.3.tar.gz 1505676 SHA256 ac250e678e52c9484629e1e934d0d1276db8b431d338887fb98c41ffd2e9b3a2 SHA512 e39c55c339dc2d7c899ffb7d0a898a5c2d6ebca5cf3a788db21d84f230a7379bfc0dd4736ed7ae66d8a449d1be9d68b8a4382ae55af4aa638bb734402c43bc72 WHIRLPOOL 46761d46202f315d426782354340cf1ed3fe04365b42f42989f18b4c46b6573579f8889cb580bf3fc97c3d3eb9af281fb2ee1947937e6bd77247f3534fa2d340 +DIST libnova-0.14.0.tar.gz 1547373 SHA256 be1b91783310b3803a51d6b224a0eeb171a54e8b0350f7dd0e5ca860484b3145 SHA512 373d32e4f380563f895483d9054cf19bbfc69e32089f75dc91f84daf28610eba94f5615b0eb7004b25b9c702450d594463606b349b93dc9cde46d0d860029da7 WHIRLPOOL 3e45e6449f8fb8d52fdc1dcaa5b62da797f9583dda04c488f5699333b82e918282adf7d92f89d443174395f2001de7ad563dbc172278c4912a5daa5599bc9deb +DIST libnova-0.15.0.tar.gz 1533794 SHA256 7c5aa33e45a3e7118d77df05af7341e61784284f1e8d0d965307f1663f415bb1 SHA512 77ab0ccbfe462c03a21e88656cb4d6389994ea1da0ee8da997f19a83d24ad8fd9e505e70e1580b75332e826e5b7859b5f2af4417f65eb811440493ba586f2574 WHIRLPOOL c4a016dd479852aa977c1ca07354245d0260816adf41992499f1fbef1edf740f30efd3e64739a247139d93156cbf356a409963b9a9f0236726c2a83c2c0c66d7 +EBUILD libnova-0.12.3.ebuild 1127 SHA256 6469c5b5d1e9b5fc3028d96975e6d9c786347d9108907495bc7022df670ecae8 SHA512 d6490764d1558afb0fc4eec5d473e198924e6f983d4439931475f9348427b742fb30a12d9d2a082902a28b042e416acf52c8ec711323f76df42d63e505446a35 WHIRLPOOL f7288fb0f737478218b8ad2470266727658f6049ad270611a0c9ce432f9ff31b0d37dfaa93f4b23ccf8e19c42cce22d5daf5853feb8c10f215f24c487173d552 +EBUILD libnova-0.14.0.ebuild 823 SHA256 e386b1492e17cf663426501776d21aa6b038b007c0e80f13306440791b0ee83b SHA512 b8867669b87e048a909ed22f1d0d1bc017bc99645e8e5cbfcca3601e78d9385d8c73f929ee7b983d84dbe684a3ee1d8e0b0d147f85428153ad807968c4278ff5 WHIRLPOOL 1fda2b4acfd9770fb5d0f0254886e0243907ff6820f9143220bb7dfb66bba75df3d9620dd045bca228c7c5c0b161353c5f5857eea9b47b037ea3dff753be416c +EBUILD libnova-0.15.0.ebuild 886 SHA256 48cfe55a8c2621339b28a88c60a355aee89dde3cd62e0b81e75eeeab1752b7c3 SHA512 5caa861333809f2d29f3b66cbd0302e44dadba4da24b10b572006daca8475aa7568c3b9c5b7ecad7c4f354384713ad206b8facfe9cc1dd477d706853baf93fd9 WHIRLPOOL e64690755643dcc8096a695bb6568f5f9e9ee5ab7832b372f0095e78abe90bd3a8c9e21610fbb8592627188f82ecaddcdf52e977a51fe16bed81b9f55ac1e6ab +MISC ChangeLog 2603 SHA256 800f01d5794391d3c66ff4a348b19658bda63ce362ddfbe9d69e6f4f0e06f6c2 SHA512 47e2094548efed0559a4b011755d443295f9c1fc87c0a3a4be0842b29946e5112b8af67ccc7ec72105d786dacb6ff9d3c08da6ff11cc1910fece02255a4db323 WHIRLPOOL 6641ca052c6194877cb37de00c2bcb232630d54ec0257f802669d222b9f1c69c98e60baedeb0d92b9cacbea24ba54dea6efce216d2f9874bc592904e62c02838 +MISC ChangeLog-2015 2601 SHA256 486a6fbb470cb33c63021b3505dfb15a3c6ebbb82c3633c9cfb3f465a60917d4 SHA512 e14edeeef347a236a763ae9b0fd672d71dab8bf8835b8792a825b48f00ed79f4495cd2108a6d89ccc63d3983320b82da6d5acf8995a752b4a163f6201f223907 WHIRLPOOL 645964bc86d2f9f79aa1174114ab5033aff026ee416558843404508ae3e51f388bbebd259cf5fefa0350b3b7db75d308966f7c2f12aabe9ee3d7434760d69f78 +MISC metadata.xml 637 SHA256 85b7efc0da4f3d433b5f56ba597dbbb7917c2d740e312f1dcb1ae9e97896d4a5 SHA512 f94be1667b076464ade40edbc7fdc3e73ee743c518e862df1277914826e91d9adc075d1a756e6a48a309bc32da384dfc17d5973f1e2b9e116d48cda697c5ece8 WHIRLPOOL b04eaa73263c5c3d11d47bdb584f08baee202dac199cb1776d79faa99cc473978d821bc5553a68e41e003bd115f7074a3606b70563161b7621cae4f706e53c6c 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.3.ebuild b/sci-libs/libnova/libnova-0.12.3.ebuild new file mode 100644 index 000000000000..f531c830dbd5 --- /dev/null +++ b/sci-libs/libnova/libnova-0.12.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 hppa 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/libnova-0.14.0.ebuild b/sci-libs/libnova/libnova-0.14.0.ebuild new file mode 100644 index 000000000000..23a5867f38e0 --- /dev/null +++ b/sci-libs/libnova/libnova-0.14.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils + +DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library" +HOMEPAGE="http://libnova.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~bicatali/${P}.tar.gz" +# bad tar ball on sf, rebuild it from svn +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc examples static-libs" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + emake + use doc && emake doc +} + +src_install() { + default + use doc && dohtml doc/html/* + if use examples; then + make clean + rm -f examples/Makefile* + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild b/sci-libs/libnova/libnova-0.15.0.ebuild new file mode 100644 index 000000000000..ac3503b00341 --- /dev/null +++ b/sci-libs/libnova/libnova-0.15.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +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 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_prepare() { + sed -i -e '/CFLAGS=-Wall/d' configure.in || die + autotools-utils_src_prepare +} + +src_compile() { + autotools-utils_src_compile + use doc && autotools-utils_src_compile -C doc doc +} + +src_install() { + autotools-utils_src_install + use doc && dohtml doc/html/* + if use examples; then + make clean + rm examples/Makefile* + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/sci-libs/libnova/metadata.xml b/sci-libs/libnova/metadata.xml new file mode 100644 index 000000000000..0c5d20811ad1 --- /dev/null +++ b/sci-libs/libnova/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <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> + <upstream> + <remote-id type="sourceforge">libnova</remote-id> + </upstream> +</pkgmetadata> |