summaryrefslogtreecommitdiff
path: root/sci-astronomy/cdsclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/cdsclient
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/cdsclient')
-rw-r--r--sci-astronomy/cdsclient/Manifest8
-rw-r--r--sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild41
-rw-r--r--sci-astronomy/cdsclient/cdsclient-3.8.4.ebuild41
-rw-r--r--sci-astronomy/cdsclient/files/cdsclient-makefile.patch106
-rw-r--r--sci-astronomy/cdsclient/metadata.xml14
5 files changed, 210 insertions, 0 deletions
diff --git a/sci-astronomy/cdsclient/Manifest b/sci-astronomy/cdsclient/Manifest
new file mode 100644
index 000000000000..3bf973562456
--- /dev/null
+++ b/sci-astronomy/cdsclient/Manifest
@@ -0,0 +1,8 @@
+AUX cdsclient-makefile.patch 3036 SHA256 92ef17cdeda7f7107acde5b16bb5bf6c09dbd7ab3f6e91ce5e529088ed5ca39d SHA512 410538e4afc03fdb6f0f3e3bc929620a3ec15ea7694b95c1fffbba8a0c289393d1c6a33dde919c6831ddc8ebbb335a74d447e781efac80c507c050ad07fe86cd WHIRLPOOL 5cc660323c730951c8445db0990c6413badea6a5dffaf76a0d2b76f457107f635d73e5fb1a19afe0563c63a870bd4332efa0b373c22fa66f6e761a2683008825
+DIST cdsclient-3.81.tar.gz 122719 SHA256 d74dca1d450e2c8f187e3d7c4952ac480a8913da799f5522a42ea7d5075e339d SHA512 3fcf7a902dfddb3583ff34eedbcddd6a5641bf9c87d234159090378436ac370313ea311d3fee6e202ee84b3fe4065ef45a46a15b5d996e05afd1418e617c20ea WHIRLPOOL 350a5d3bff06fbe15105b9f60c4d8266dda15974b32f01b19ec8aca05fb1e830298dc9f885088f58d4ddf6685da84579db908a68f15fe7bb64165684a2d8cd58
+DIST cdsclient-3.84.tar.gz 119585 SHA256 09eb633011461b9261b923e1d0db69d3591d376b447f316eb1994aaea8919700 SHA512 2d7abf0079189b9dd19cb8919061445fd19ea9f7dfd54e8ceee26b743218cf62ab00eba0147abe82d9294223927f04b4cc3328620dfc9184a7049f8d515b29e4 WHIRLPOOL 9c0526e9549b750cf54b94d37e905cc54d24ce4a5fe6415e87d23c9489d6f47d91c6673d3fd31869b956f073133f9216a8ee07442c1ec5d5ec96ded94ef9eeeb
+EBUILD cdsclient-3.8.1.ebuild 948 SHA256 ff37fd6f7598bfcb9b218e7cbb35ba1a38f6e11450b5367a04595f3df8cf952a SHA512 07f12a9a124c3431a90d5e3400f144176ed2c4664ebfd58c8686904006892e95680f618609cb91b06776efc92ae99fd48e98eea87b816348c598bf8f1367d880 WHIRLPOOL 05b148bd7bd6ead94b55d3985d5e6d17c6527808ac517db64c79cb0fd702b19a7a9ef82414d6ee4a33f813de0e16a74355843535866089202ee2c5f67ffa45ab
+EBUILD cdsclient-3.8.4.ebuild 948 SHA256 c9f49424c4dd1be8cb50bb1cff4ba48b2bf36bc407c1c4025a2470aa0f1d9b96 SHA512 2b75245e0f73317684e96463f95d0a0cafaff982eb2043264768cad9946a81cf95ada9c8502d0becca8d6f2ff0993b8d774b03dfa5f5b2453e886dd1cb0254d9 WHIRLPOOL 0d5244fa5313b047310c991b8e8652f7a710adf003f187a34149e92464ddeba8c6626cca6921cff09720207003fffa9fffdb219d2183060e0e83bb3817d2db13
+MISC ChangeLog 2705 SHA256 c111caf075f0af3bb0b2685ad8f180487b3bbefb1dd1d34e10d400d271a3f24f SHA512 d7284678afc4110c302373f094c0341cb120448281241fefebc50a0cb57a1e7d9648c4e5a53750cc8d84e966973bf97d4a4bf43a264530f6559202b6479fe29e WHIRLPOOL 4e4b11e84a7b72cad11856f04d5c49076c11a86d5b166695f9e3ef8724e474259f2987965f7548a41dee9d19df7064b3730cacd595e125523cc9411375772a59
+MISC ChangeLog-2015 3162 SHA256 303c1ee6b798d614a3bcf9ce15b88b911548e5a58493da82ad9811b8a009e96d SHA512 e654456cd07e607466fef70cc57842d4c1209aec8bcfb5b91003b6f696486dc23e1472bffbc7eee2fc097671010b7002860c64713bf23854ebfc1e9ad07f7939 WHIRLPOOL df411d8dbc796f151413dfc1d15ac46a9febe7df42afe27734994f977e6457bbb725006ba2b2d255572249a8b382981f3526ec212f522c68bf96802dbd86a2f0
+MISC metadata.xml 572 SHA256 2653d8f876aa06de245a6ef460888e38f31ec1e1e37e907fd728eb6f366ab49c SHA512 b742174d0d6df7326c204a9eacf27ab6a4ba5ce5ac8926502c129b8f746b7b8f4665c1e88f1a3c7871a57cd2215f5c3b10a5b31e515537d3c2ce14b743319186 WHIRLPOOL bfe35c079d670924218ce85ea8949828a80c815895b2dad17b2043a0f034e1c8066ed70a97385c8ec3fafb8ff15b400cde72eaa11082809e1017fd73e78ee835
diff --git a/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild b/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild
new file mode 100644
index 000000000000..4ca690324256
--- /dev/null
+++ b/sci-astronomy/cdsclient/cdsclient-3.8.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils versionator
+
+# upstream versioning wrong: 3.71 is really 3.7.1
+MYP="${PN}-$(delete_version_separator 2)"
+
+DESCRIPTION="Collection of scripts to access the CDS databases"
+HOMEPAGE="http://cdsweb.u-strasbg.fr/doc/cdsclient.html"
+SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${MYP}.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RESTRICT="mirror bindist"
+DEPEND=""
+RDEPEND="app-shells/tcsh"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+src_prepare() {
+ default
+ # remove non standard "mantex" page
+ sed -e 's/aclient.tex//' -i configure || die
+}
+
+src_install() {
+ local bindir="${EPREFIX}/usr/bin/${PN}"
+ emake DESTDIR="${D}" SHSDIR="${D}${bindir}" install
+ cat <<-EOF > 99${PN}
+ PATH=${bindir}
+ ROOTPATH=${bindir}
+ EOF
+ doenvd 99${PN}
+}
diff --git a/sci-astronomy/cdsclient/cdsclient-3.8.4.ebuild b/sci-astronomy/cdsclient/cdsclient-3.8.4.ebuild
new file mode 100644
index 000000000000..868a8b7c0c88
--- /dev/null
+++ b/sci-astronomy/cdsclient/cdsclient-3.8.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils versionator
+
+# upstream versioning wrong: 3.71 is really 3.7.1
+MYP="${PN}-$(delete_version_separator 2)"
+
+DESCRIPTION="Collection of scripts to access the CDS databases"
+HOMEPAGE="http://cdsweb.u-strasbg.fr/doc/cdsclient.html"
+SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${MYP}.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RESTRICT="mirror bindist"
+DEPEND=""
+RDEPEND="app-shells/tcsh"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+src_prepare() {
+ default
+ # remove non standard "mantex" page
+ sed -e 's/aclient.tex//' -i configure || die
+}
+
+src_install() {
+ local bindir="${EPREFIX}/usr/bin/${PN}"
+ emake DESTDIR="${D}" SHSDIR="${D}${bindir}" install
+ cat <<-EOF > 99${PN}
+ PATH=${bindir}
+ ROOTPATH=${bindir}
+ EOF
+ doenvd 99${PN}
+}
diff --git a/sci-astronomy/cdsclient/files/cdsclient-makefile.patch b/sci-astronomy/cdsclient/files/cdsclient-makefile.patch
new file mode 100644
index 000000000000..6d135a622056
--- /dev/null
+++ b/sci-astronomy/cdsclient/files/cdsclient-makefile.patch
@@ -0,0 +1,106 @@
+--- cdsclient-3.81/Makefile.in.orig 2016-02-26 17:33:14.217750589 +0000
++++ cdsclient-3.81/Makefile.in 2016-02-26 17:38:22.463875411 +0000
+@@ -31,17 +31,17 @@
+ #################################################################
+ #PREFIX = /usr/local
+ #PREFIX = $(HOME)
+-PREFIX = @prefix@
++PREFIX = $(DESTDIR)@prefix@
+ PACKAGE = cdsclient
+ VERSION = @version@
+ DISTRIB = $(PACKAGE)-$(VERSION)
+ #################################################################
+
+ INCDIR = $(PREFIX)/include
+-LIBDIR = $(PREFIX)/lib
++LIBDIR = $(DESTDIR)/@libdir@
+ BINDIR = $(PREFIX)/bin
+ SHSDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/man
++MANDIR = $(PREFIX)/share/man
+ ###########
+ # NOTE: The definition below is required only on SOLARIS
+ # Comment the following line if required
+@@ -57,12 +57,13 @@
+ COPY = cp -p
+ RM = rm
+ AWK = @AWK@
++MKDIR = mkdir -p
+
+ # C options --------------------------------
+ DEBUG =
+ C_OPT = -O
+ SYS =
+-CFLAGS = $(C_OPT) $(DEBUG) $(SYS) -I.
++
+
+ # FILES --------------------------------
+ VERFILE = $(PREFIX)/versions
+@@ -102,7 +103,7 @@
+ # RULES --------------------------------
+ .SUFFIXES: .o .c
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) -I. -c $<
+
+ # DEPENDENCIES --------------------------------
+
+@@ -121,41 +122,39 @@
+ # rm -f $$f; ln finducac2 $$f; done
+
+ aclient: aclient.o $(OBJ)
+- $(CC) $@.o $(OBJ) $(LIBSYS) -o $@
+- $(STRIP) $@
++ $(CC) $(LDFLAGS) $@.o $(OBJ) $(LIBSYS) -o $@
+
+ wwwget: wwwget.c
+- $(CC) wwwget.c $(LIBSYS) -o $@
+- $(STRIP) $@
++ $(CC) $(CFLAGS) $(LDFLAGS) wwwget.c $(LIBSYS) -o $@
+
+ doc: sk.tex man.tex aclient.tex
+ latex man.tex
+
+-install: $(EXPORT_INSTALL) install_shs install_info
++install: $(EXPORT_INSTALL) install_shs
+ rm -rf *.cache
+
+ export_install: install_bin install_man
+
+ install_man: $(MAN)
+ if [ -d $(MANDIR) ]; then echo $(MANDIR) exists; \
+- else mkdir $(MANDIR); fi
++ else $(MKDIR) $(MANDIR); fi
+ for f in $(MAN); do \
+ e=`echo $$f | cut -d. -f2`; \
+ if [ -d $(MANDIR)/man$$e ] ; then echo $(MANDIR)/man$$e exists ; \
+- else mkdir $(MANDIR)/man$$e ; fi ; \
++ else $(MKDIR) $(MANDIR)/man$$e ; fi ; \
+ $(COPY) $$f $(MANDIR)/man$$e ; \
+ done
+
+ install_h: $(INC)
+- test -d $(INCDIR) || mkdir $(INCDIR)
++ test -d $(INCDIR) || $(MKDIR) $(INCDIR)
+ $(COPY) $(INC) $(INCDIR)
+
+ install_bin: $(BIN)
+- test -d $(BINDIR) || mkdir $(BINDIR)
++ test -d $(BINDIR) || $(MKDIR) $(BINDIR)
+ $(COPY) $(BIN) $(BINDIR)
+
+ install_shs: Makefile
+- test -d $(SHSDIR) || mkdir $(SHSDIR)
++ test -d $(SHSDIR) || $(MKDIR) $(SHSDIR)
+ ractools=""; test -r $(RACatCDS) && ractools=$(RACatCDS)/*; \
+ test -z "$$ractools" || ls -l $$ractools; \
+ cdsutil="$(SHSatCDS)"; test -z "$(atCDS)" && cdsutil=""; \
+@@ -195,7 +194,7 @@
+ $(MAKE) clean
+ -test -d /tmp/$(DISTRIB) && rm -rf /tmp/$(DISTRIB)
+ autoconf
+- mkdir /tmp/$(DISTRIB)
++ $(MKDIR) /tmp/$(DISTRIB)
+ cp -p COPYRIGHT /ftp/pub/sw/COPYING /tmp/$(DISTRIB)
+ for f in $(SHS) Makefile.in configure; do cp -p $$f /tmp/$(DISTRIB); \
+ add_license $$f > /tmp/$(DISTRIB)/$$f; done
diff --git a/sci-astronomy/cdsclient/metadata.xml b/sci-astronomy/cdsclient/metadata.xml
new file mode 100644
index 000000000000..557836e3fc90
--- /dev/null
+++ b/sci-astronomy/cdsclient/metadata.xml
@@ -0,0 +1,14 @@
+<?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">
+ The cdsclient package is a set of C and csh routines which can be
+ built on Unix stations or PCs running Linux, which once compiled allow
+ to query some databases located at Centre de Donnees astronomiques
+ de Strasbourg (CDS) or on mirrors over the network.
+</longdescription>
+</pkgmetadata>