summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-01-20 02:32:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-01-20 02:32:40 +0000
commit64bff111f9c75c50822ad8cf316fef6a6c502803 (patch)
tree64adf94dea422711fd1d5664cb5ed3314b99da35 /sci-libs/ccfits
parentcleanup sys-cluster/openmpi (diff)
downloadhistorical-64bff111f9c75c50822ad8cf316fef6a6c502803.tar.gz
historical-64bff111f9c75c50822ad8cf316fef6a6c502803.tar.bz2
historical-64bff111f9c75c50822ad8cf316fef6a6c502803.zip
Initial import
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/ccfits')
-rw-r--r--sci-libs/ccfits/ChangeLog10
-rw-r--r--sci-libs/ccfits/Manifest15
-rw-r--r--sci-libs/ccfits/ccfits-2.2.ebuild43
-rw-r--r--sci-libs/ccfits/files/ccfits-2.2-makefile.patch26
-rw-r--r--sci-libs/ccfits/metadata.xml12
5 files changed, 106 insertions, 0 deletions
diff --git a/sci-libs/ccfits/ChangeLog b/sci-libs/ccfits/ChangeLog
new file mode 100644
index 000000000000..b2ec6cfa98d2
--- /dev/null
+++ b/sci-libs/ccfits/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/ccfits
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccfits/ChangeLog,v 1.1 2010/01/20 02:32:36 bicatali Exp $
+
+*ccfits-2.2 (20 Jan 2010)
+
+ 20 Jan 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> +ccfits-2.2.ebuild,
+ +files/ccfits-2.2-makefile.patch, +metadata.xml:
+ Initial import
+
diff --git a/sci-libs/ccfits/Manifest b/sci-libs/ccfits/Manifest
new file mode 100644
index 000000000000..c3653b4f96a9
--- /dev/null
+++ b/sci-libs/ccfits/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ccfits-2.2-makefile.patch 783 RMD160 12d6b2caf7f61788f8aef02371079b5552517c38 SHA1 b964ed982f3b9480e0ef02b208207e0607677d02 SHA256 3afa7d988be293a493f7368a66824c3d0bb6a26d78f7dfdc0fc130b7830063c3
+DIST CCfits-2.2.tar.gz 1752775 RMD160 0d3a5a999da0dcef36535a7cbba476cd6253bb3b SHA1 87c243e95ccc4897a13523d115aa1bd80f962f3f SHA256 dd145d037ed020aa5d05458d569e127431b45d83a8445ee99a35f18633e3c2fb
+EBUILD ccfits-2.2.ebuild 923 RMD160 4ba78eab2b378a5f774d5bd434fdc684b2861f74 SHA1 37352168a667cf93c90b7af70c22f4fe3a6ebd4a SHA256 54ab4fbddcdb7634dfcc1d125c12d3f630af9f5c320555df4019c98b9e1f77eb
+MISC ChangeLog 376 RMD160 36165355e320ab34506c6fa036e7abe9ae777b2a SHA1 cc0f0d41786b899f0582d992f12d32de2ebeb88e SHA256 21581efaf31d58135c8a5b5ec1a5d23162ee44dedee31299ef62f25a3fc49f6f
+MISC metadata.xml 510 RMD160 52d0d9a34c7d24f167732714452ac0c9b66e83f5 SHA1 a1c3de553185011b5e42920f17b4c292bb22d9c8 SHA256 fd8d6c9a0a7d8185fb85f8467e381a7cd7d8db08fdac3c21c70db1c1e66f4213
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktWc7cACgkQ1ycZbhPLE2BOiQCgiFO4FrThsnLR6jNiEyGgof7D
+yskAn1s/vkAro634M2A7vlKgXW4ZjCuZ
+=Vn7I
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/ccfits/ccfits-2.2.ebuild b/sci-libs/ccfits/ccfits-2.2.ebuild
new file mode 100644
index 000000000000..8ec7af07377f
--- /dev/null
+++ b/sci-libs/ccfits/ccfits-2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccfits/ccfits-2.2.ebuild,v 1.1 2010/01/20 02:32:36 bicatali Exp $
+
+EAPI=2
+inherit eutils autotools
+
+MYPN=CCfits
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="C++ interface for cfitsio"
+HOMEPAGE="http://heasarc.gsfc.nasa.gov/fitsio/CCfits/"
+SRC_URI="${HOMEPAGE}/${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=sci-libs/cfitsio-3.080"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYPN}"
+
+src_prepare() {
+ # avoid building cookbook by default and no rpath
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ AT_M4DIR=config/m4 eautoreconf
+}
+
+src_test() {
+ emake check || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGES
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins *.pdf || die
+ doins -r html || die
+ fi
+}
diff --git a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
new file mode 100644
index 000000000000..e92d9306900c
--- /dev/null
+++ b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
@@ -0,0 +1,26 @@
+--- Makefile.am.orig 2010-01-20 02:52:22.000000000 +0000
++++ Makefile.am 2010-01-20 02:50:34.000000000 +0000
+@@ -26,12 +26,11 @@
+ EXTRA_DIST = config CHANGES README.INSTALL License.txt file1.pha $(MSVC_FILES)
+
+
+-bin_PROGRAMS = cookbook
++check_PROGRAMS = cookbook
+
+ cookbook_SOURCES = cookbook.cxx
+
+ cookbook_LDADD = libCCfits.la
+-cookbook_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH)
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = CCfits.pc
+@@ -64,8 +63,7 @@
+
+ # This will tell shared library which STD C++ library to use without
+ # needing the user to use LD_LIBRARY_PATH environment variable
+-libCCfits_la_LIBADD = $(LIBSTDCPP)
+-libCCfits_la_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH)
++#libCCfits_la_LIBADD = $(LIBSTDCPP)
+
+ libCCfits_ladir = $(pkgincludedir)
+
diff --git a/sci-libs/ccfits/metadata.xml b/sci-libs/ccfits/metadata.xml
new file mode 100644
index 000000000000..b4532406f703
--- /dev/null
+++ b/sci-libs/ccfits/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ CCfits is an object oriented interface to the cfitsio library. It is
+ designed to make the capabilities of cfitsio available to
+ programmers working in C++. It is written in ANSI C++ and
+ implemented using the C++ Standard Library with namespaces,
+ exception handling, and member template functions.
+</longdescription>
+</pkgmetadata>