summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-03-20 21:07:36 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-03-20 21:07:36 +0000
commit2b31cd9cd6ce027e7f56abeeb3cba53f4348d21d (patch)
tree6144ace1458d004b50240b1c3551bd651cf524c8 /sci-libs/cfitsio
parentVersion bump. Remove intermediate version. (diff)
downloadgentoo-2-2b31cd9cd6ce027e7f56abeeb3cba53f4348d21d.tar.gz
gentoo-2-2b31cd9cd6ce027e7f56abeeb3cba53f4348d21d.tar.bz2
gentoo-2-2b31cd9cd6ce027e7f56abeeb3cba53f4348d21d.zip
Version bump
(Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r--sci-libs/cfitsio/ChangeLog7
-rw-r--r--sci-libs/cfitsio/cfitsio-3.340.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog
index ef9f1dcb3928..b8b63bef7344 100644
--- a/sci-libs/cfitsio/ChangeLog
+++ b/sci-libs/cfitsio/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/cfitsio
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.61 2013/03/15 23:07:55 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.62 2013/03/20 21:07:36 bicatali Exp $
+
+*cfitsio-3.340 (20 Mar 2013)
+
+ 20 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org> +cfitsio-3.340.ebuild:
+ Version bump
*cfitsio-3.330 (15 Mar 2013)
diff --git a/sci-libs/cfitsio/cfitsio-3.340.ebuild b/sci-libs/cfitsio/cfitsio-3.340.ebuild
new file mode 100644
index 000000000000..4226cf20c1b9
--- /dev/null
+++ b/sci-libs/cfitsio/cfitsio-3.340.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.340.ebuild,v 1.1 2013/03/20 21:07:36 bicatali Exp $
+
+EAPI=5
+inherit autotools-utils
+
+DESCRIPTION="C and Fortran library for manipulating FITS files"
+HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
+SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="doc examples fortran static-libs +tools threads"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ fortran? ( dev-lang/cfortran )"
+
+src_prepare() {
+ # avoid internal cfortran
+ if use fortran; then
+ mv cfortran.h cfortran.h.disabled
+ ln -s "${EPREFIX}"/usr/include/cfortran.h . || die
+ fi
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable fortran)
+ $(use_enable threads)
+ $(use_enable tools)
+ )
+ autotools-utils_src_configure
+}
+
+src_install () {
+ autotools-utils_src_install
+ dodoc changes.txt README* cfitsio.doc Changes*
+ use fortran && dodoc fitsio.doc
+ use doc && dodoc quick.pdf cfitsio.pdf fpackguide.pdf
+ use doc && use fortran && dodoc fitsio.pdf
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins cookbook.c testprog.c speed.c smem.c
+ use fortran && doins cookbook.f testf77.f
+ fi
+}