summaryrefslogtreecommitdiff
path: root/sci-libs/ccfits
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-libs/ccfits
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/ccfits')
-rw-r--r--sci-libs/ccfits/Manifest8
-rw-r--r--sci-libs/ccfits/ccfits-2.4-r1.ebuild48
-rw-r--r--sci-libs/ccfits/ccfits-2.5.ebuild47
-rw-r--r--sci-libs/ccfits/files/ccfits-2.2-makefile.patch26
-rw-r--r--sci-libs/ccfits/metadata.xml15
5 files changed, 144 insertions, 0 deletions
diff --git a/sci-libs/ccfits/Manifest b/sci-libs/ccfits/Manifest
new file mode 100644
index 000000000000..88f0d9304114
--- /dev/null
+++ b/sci-libs/ccfits/Manifest
@@ -0,0 +1,8 @@
+AUX ccfits-2.2-makefile.patch 710 SHA256 fc6af44d3aee9652570f5e82633f2449bf00f654cac93d5d3d10c9961b6f8294 SHA512 ea4553b9a794131fe1b90172d49623bb97c6d78c52a3cdbdd43c8bb3ec23ae535081a981f83c61d425fc9fe1b6258e7ef78cea580f7df302893840ab3a35e7e5 WHIRLPOOL 5cf32898d320d8d27a74bf269c7b3575857d7f8cdfbb5b2825362d13db427fd270190423bb91bca84e4fc31622794906ee606a07658f7b34ea4e4f358cd99c5f
+DIST CCfits-2.4.tar.gz 1792643 SHA256 ba6c5012b260adf7633f92581279ea582e331343d8c973981aa7de07242bd7f8 SHA512 b12d455bb6dd631056e02a12e996d3bf0b6169f8922011e4b64f979b08d2ab8f405e14947c6f5d26ad18bf2f5764854a84987ae105944515f533fe6b0b4ef7be WHIRLPOOL 7f0ca6f0e684f7d66d7272a89dbeb8fa95e3907f358ec624f5f817311288fdfb6467ec915d0ab9f2eee753fcaee3f4b68f497c2dffcf7a38bdce9a7f97681e2a
+DIST CCfits-2.5.tar.gz 1416358 SHA256 938ecd25239e65f519b8d2b50702416edc723de5f0a5387cceea8c4004a44740 SHA512 63ab4d153063960510cf60651d5c832824cf85f937f84adc5390c7c2fb46eb8e9f5d8cda2554d79d24c7a4f1b6cf0b7a6e20958fb69920b65d7c362c0a5f26b5 WHIRLPOOL 2bd2834d9c113b0dd3cceba381ad186bd13ccfa7184a8b4a314f4b5a8034121481e8ed68fe50dd25484ddce0f0391f884cde6783db72bf9cc61044e540c9d4be
+EBUILD ccfits-2.4-r1.ebuild 889 SHA256 a51f675ab4b385d9a9c5ecd8d06ca6473a8cbc2a9059143b0e813b77c345191b SHA512 da0b9d7138dc9b5438c46cbdba15a8a49bc744e45f4ba872d8597521e272368b1ad2454f027faa937f30ca2f5b1b4b8415ee7923cecb4649d026d18608779113 WHIRLPOOL 1278be4a0d88af95a9abab2b5e326f21609be94de1d08da6308fe2f54d24fb542808495962eaf66f7d6e353f41ac2c3e055cc79d2dbe5a0d11f70b662f013885
+EBUILD ccfits-2.5.ebuild 901 SHA256 2c6186299819813ef2ceaa1e3cd9899fe79c563cd28b31eba5da99084d86ea6f SHA512 382efb11b57f290d250d599f641b7edb37c2f87cf61580a37ef94ecd2ed80eb8b4b4f2938fce9d9aea6b462bd79b534ff67f06a54646c2a43b88989994256128 WHIRLPOOL 2033ce42de6455bee6b53467296d50de17e850a9bd2984f8f637360689f399b0f2cb8041a85d19f0de2fafcd3e9b536091ca06f66dae742a0be11d1b99a14112
+MISC ChangeLog 3208 SHA256 599f7b0e83106d975c04a68f6c2beeb2a77db6eed66c8a0370a4861c79bbf1d0 SHA512 2f1d17b6ce604b1535f7eb687949a974f288541c5534e6f88dfc0d68c22b73e67d4a258a3e8215567f4605c0f29993c5aaddf40479841f90e696514465628964 WHIRLPOOL 43bef34b8be5a65cc32e6260aea5ebacd37012f7455b182df84306636638640f58463e999c6a5544050b85d609f209f92bd784eb61bcaaf1275f13b1dd55e04c
+MISC ChangeLog-2015 752 SHA256 c3bed0e690061bdaa0170ba8bc21e2474033eafc3ffa1c929b9d0692a24131d4 SHA512 4f9cdeffb8ab2c968f4409e52f93c520070471bd43d0b47cb3007a14b6ada868d17ca2441b07c1de4bc72abdc8289d1aa9f5fa9a9da28a5a2d6de12cf62b7676 WHIRLPOOL 6f2801b1afdc504d2958ba85141f3cf84b5143087054745ec0d64dc26e37c1e1bcaaabfaf08219534cf8df0ab64e03d36068627bfb82652d0aacda32bb040b12
+MISC metadata.xml 639 SHA256 8740fd8eefba94194724e26d0d426919a1d09254f124ab91457df89f9521716f SHA512 163801f94ad9076cf5306b4f06682fc7186e724704b4ad1e5dfca871fc770ed0b06827caa2aa83eeebc7bb65b5bbc27f254431d6472735abb30f0872eeccf721 WHIRLPOOL 57eccb2d4a76a1b61926b69ef785dfdbaa2f0b3d0657375574b5c2d389102d48ee02d65c01965792d2b2b84992dd4dbdfca850e7b46659d5cb6a2c52263f21f6
diff --git a/sci-libs/ccfits/ccfits-2.4-r1.ebuild b/sci-libs/ccfits/ccfits-2.4-r1.ebuild
new file mode 100644
index 000000000000..a053f0dd3a6e
--- /dev/null
+++ b/sci-libs/ccfits/ccfits-2.4-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit 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 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cfitsio-3.080"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYPN}"
+
+DOCS=( CHANGES README.INSTALL )
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2-makefile.patch # avoid building cookbook by default and no rpath
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ AT_M4DIR=config/m4 eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ if use doc; then
+ DOCS+=( *.pdf )
+ HTML_DOCS=( html/. )
+ fi
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sci-libs/ccfits/ccfits-2.5.ebuild b/sci-libs/ccfits/ccfits-2.5.ebuild
new file mode 100644
index 000000000000..9530618f2c8c
--- /dev/null
+++ b/sci-libs/ccfits/ccfits-2.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils
+
+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 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cfitsio-3.080"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYPN}"
+
+DOCS=( CHANGES README.INSTALL )
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2-makefile.patch # avoid building cookbook by default and no rpath
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ AT_M4DIR=config/m4 eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ if use doc; then
+ DOCS+=( *.pdf )
+ HTML_DOCS=( html/. )
+ fi
+ default
+ use static-libs || prune_libtool_files --all
+}
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..f8fa5d518591
--- /dev/null
+++ b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
@@ -0,0 +1,26 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -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..e4f684da7916
--- /dev/null
+++ b/sci-libs/ccfits/metadata.xml
@@ -0,0 +1,15 @@
+<?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">
+ 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>