Import to the main tree and bump
authorSebastien Fabbro <bicatali@gentoo.org>
Wed, 26 May 2010 19:02:45 +0000 (19:02 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Wed, 26 May 2010 19:02:45 +0000 (19:02 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

sci-astronomy/cpl/ChangeLog [new file with mode: 0644]
sci-astronomy/cpl/Manifest [new file with mode: 0644]
sci-astronomy/cpl/cpl-5.2.0.ebuild [new file with mode: 0644]
sci-astronomy/cpl/metadata.xml [new file with mode: 0644]

diff --git a/sci-astronomy/cpl/ChangeLog b/sci-astronomy/cpl/ChangeLog
new file mode 100644 (file)
index 0000000..2a8fe84
--- /dev/null
@@ -0,0 +1,38 @@
+# ChangeLog for sci-astronomy/cpl
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/ChangeLog,v 1.1 2010/05/26 19:02:45 bicatali Exp $
+
+*cpl-5.2.0 (26 May 2010)
+
+  26 May 2010; Sébastien Fabbro <bicatali@gentoo.org> +cpl-5.2.0.ebuild,
+  +metadata.xml:
+  Import to the main tree and bump
+
+*cpl-5.0.1 (23 Jul 2009)
+
+  23 Jul 2009; Sébastien Fabbro <bicatali@gentoo.org> +cpl-5.0.1.ebuild:
+  Version bump
+
+*cpl-4.2.0-r2 (26 Feb 2009)
+
+  26 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> -cpl-4.2.0-r1.ebuild,
+  +cpl-4.2.0-r2.ebuild:
+  QA and doc building
+
+  02 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org>
+  sci-astronomy/cpl/metadata.xml:
+  Added wcs and gasgano support
+
+  02 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> +cpl-4.1.0.ebuild:
+  Version bump, thanks to Marek Miller
+
+  26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org> -cpl-3.0.ebuild,
+  +cpl-3.1.ebuild:
+  Version bump.
+
+*cpl-3.0 (15 Oct 2006)
+
+  15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt>;
+  +cpl-3.0.ebuild,  +metadata.xml.
+  Initial import.
+  
diff --git a/sci-astronomy/cpl/Manifest b/sci-astronomy/cpl/Manifest
new file mode 100644 (file)
index 0000000..8c79f4a
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST cpl-5.2.0.tar.gz 1834948 RMD160 6286ed3243c41ac6ce995d97fe8b71f5ecda3cac SHA1 f7ad702230f91364c4b2512dbf0268c98735cc0d SHA256 617083b81d4029f2fb70710ab772ae0a1ed531806a8881c62dce7c522a62b6a0
+EBUILD cpl-5.2.0.ebuild 1286 RMD160 327cfd5b5c8794983e8a1eb3d6d900d7d2ccd9b4 SHA1 3589413251b737ac5bd5233886e6e41613253f2a SHA256 3f9810d30236798b06ea651b2baa0c3974e8979305fb030e89cc95d8e42be570
+MISC ChangeLog 1105 RMD160 f65c46045c15ce7b7479b6ba3e3717fd9c1f7b0c SHA1 90753cbcce11c459d08464af7865f039befbb04e SHA256 fbb8459471800b208b2dca647070be181b438054f21281274a1133380b3984d5
+MISC metadata.xml 969 RMD160 aa9f571697fc79e00a30108e266cc9256d71919f SHA1 b1b537b27754cf667b54ecaaa329e8e79282bf42 SHA256 0f9a401edae77796c82ba48c3b019e9198d7f308b3e78befbe5109112e3f881d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkv9eWAACgkQ1ycZbhPLE2AXqwCgn+qLvzzF+VCOYabT/D/EX8ny
+ioIAoIJl/k5rj6jEmTf/04woC7iq3DGr
+=lvVh
+-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/cpl/cpl-5.2.0.ebuild b/sci-astronomy/cpl/cpl-5.2.0.ebuild
new file mode 100644 (file)
index 0000000..bb17a56
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/cpl-5.2.0.ebuild,v 1.1 2010/05/26 19:02:45 bicatali Exp $
+
+EAPI=2
+JAVA_PKG_OPT_USE=gasgano
+inherit java-pkg-opt-2
+
+DESCRIPTION="ESO common pipeline library for astronomical data reduction"
+HOMEPAGE="http://www.eso.org/sci/data-processing/software/cpl/"
+SRC_URI="ftp://ftp.eso.org/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc gasgano"
+
+RDEPEND=">=sci-libs/cfitsio-3.09
+       sci-astronomy/wcslib
+       sci-libs/fftw:3.0
+       gasgano? ( sci-astronomy/gasgano )"
+DEPEND="${RDEPEND}
+       sys-devel/libtool
+       doc? ( app-doc/doxygen )
+       gasgano? ( >=virtual/jdk-1.5 )"
+
+src_configure() {
+       local myconf="--without-gasgano"
+       use gasgano && \
+               myconf="--with-gasgano=/usr
+                               --with-gasgano-classpath=/usr/share/gasgano/lib"
+       econf \
+               --with-cfitsio="/usr" \
+               --with-wcs="/usr" \
+               --with-fftw="/usr" \
+               ${myconf}
+}
+
+src_compile() {
+       emake || die "emake failed"
+       if use doc; then
+               doxygen Doxyfile || die
+       fi
+}
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc README AUTHORS NEWS TODO BUGS ChangeLog
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               doins -r html || die
+       fi
+}
diff --git a/sci-astronomy/cpl/metadata.xml b/sci-astronomy/cpl/metadata.xml
new file mode 100644 (file)
index 0000000..1b34a43
--- /dev/null
@@ -0,0 +1,22 @@
+<?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 Common Pipeline Library (CPL) comprises a set of ISO-C libraries
+  that provide a comprehensive, efficient and robust software
+  toolkit. It forms a basis for the creation of automated astronomical
+  data-reduction tasks (known as "pipelines"). CPL Title Graphic The CPL
+  was developed to standardise the way VLT instrument pipelines are
+  built, to shorten their development cycle and to ease their
+  maintenance. However, it may be more generally applied to any similar
+  application, and the details of the CPL code have been engineered in a
+  way to make the library portable and flexible, as well as minimising
+  external dependencies.
+</longdescription>
+<use>
+  <flag name='gasgano'>
+    Enable support for <pkg>sci-astronomy/gasgano</pkg> file organizer
+  </flag>
+</use>
+</pkgmetadata>