summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-02-17 20:47:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-02-17 20:47:22 +0000
commit86115d174e155b832592404d4548c179b0744498 (patch)
treecc9f4ab1a955ee3eb59993d2a7fcb3096db36833 /sci-astronomy/cdsclient
parentVersion bump - 0.1.10 is released (diff)
downloadhistorical-86115d174e155b832592404d4548c179b0744498.tar.gz
historical-86115d174e155b832592404d4548c179b0744498.tar.bz2
historical-86115d174e155b832592404d4548c179b0744498.zip
Initial import to the main tree from the sci overlay
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy/cdsclient')
-rw-r--r--sci-astronomy/cdsclient/ChangeLog25
-rw-r--r--sci-astronomy/cdsclient/cdsclient-3.2.ebuild44
-rw-r--r--sci-astronomy/cdsclient/metadata.xml11
3 files changed, 80 insertions, 0 deletions
diff --git a/sci-astronomy/cdsclient/ChangeLog b/sci-astronomy/cdsclient/ChangeLog
new file mode 100644
index 000000000000..e3a36f369cb1
--- /dev/null
+++ b/sci-astronomy/cdsclient/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for sci-astronomy/cdsclient
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/ChangeLog,v 1.1 2009/02/17 20:47:22 bicatali Exp $
+
+*cdsclient-3.2 (17 Feb 2009)
+
+ 17 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +cdsclient-3.2.ebuild:
+ Initial import to the main tree from the sci overlay
+
+ 28 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +cdsclient-2.90.ebuild:
+ Bump
+
+ 07 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ -cdsclient-2.87.ebuild, +cdsclient-2.89.ebuild:
+ Version bump
+
+ 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +cdsclient-2.87.ebuild:
+ Version bump.
+
+ 19 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> cdsclient-2.85.ebuild
+ Initial import.
+
diff --git a/sci-astronomy/cdsclient/cdsclient-3.2.ebuild b/sci-astronomy/cdsclient/cdsclient-3.2.ebuild
new file mode 100644
index 000000000000..7fbeef6667ba
--- /dev/null
+++ b/sci-astronomy/cdsclient/cdsclient-3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/cdsclient-3.2.ebuild,v 1.1 2009/02/17 20:47:22 bicatali Exp $
+
+inherit eutils
+
+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/${P}.tar.gz"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND="app-shells/tcsh"
+
+src_unpack() {
+ unpack ${A}
+ # remove non standard "mantex" page
+ sed -i \
+ -e 's/aclient.tex//' \
+ "${S}"/configure || die "sed failed"
+ # remove useless version file
+ sed -i \
+ -e 's/install_shs install_info/install_shs/' \
+ "${S}"/Makefile.in || die "sed failed"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake C_OPT="${CFLAGS}" STRIP=touch || die "emake failed"
+}
+
+
+src_install() {
+ dodir /usr/bin
+ dodir /usr/share/man
+ dodir /usr/$(get_libdir)
+ emake \
+ PREFIX="${D}"/usr \
+ MANDIR="${D}"/usr/share/man \
+ LIBDIR="${D}"/usr/$(get_libdir) \
+ install || die "emake install failed"
+}
diff --git a/sci-astronomy/cdsclient/metadata.xml b/sci-astronomy/cdsclient/metadata.xml
new file mode 100644
index 000000000000..7d603f33d552
--- /dev/null
+++ b/sci-astronomy/cdsclient/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<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 CDS or on mirrors over the
+ network.
+</longdescription>
+</pkgmetadata>