summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-17 00:08:21 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-17 00:08:21 +0000
commit3aa117637778df6b4c7356c65275f921bf7f8ea6 (patch)
tree78ee744d12bcc41d5f3e227ba6215e224ec3c296 /sci-libs/cfitsio
parentHide the python.eclass unmerge noise behind PORTAGE_VERBOSE. (diff)
downloadgentoo-2-3aa117637778df6b4c7356c65275f921bf7f8ea6.tar.gz
gentoo-2-3aa117637778df6b4c7356c65275f921bf7f8ea6.tar.bz2
gentoo-2-3aa117637778df6b4c7356c65275f921bf7f8ea6.zip
Version bump
(Portage version: 2.2.01.20837-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r--sci-libs/cfitsio/ChangeLog7
-rw-r--r--sci-libs/cfitsio/cfitsio-3.310.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog
index 50d4c64ded76..d38056ae4276 100644
--- a/sci-libs/cfitsio/ChangeLog
+++ b/sci-libs/cfitsio/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/cfitsio
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.57 2012/07/11 15:34:33 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.58 2012/08/17 00:08:21 bicatali Exp $
+
+*cfitsio-3.310 (17 Aug 2012)
+
+ 17 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +cfitsio-3.310.ebuild:
+ Version bump
11 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> cfitsio-3.300-r1.ebuild:
install all Changes doc files
diff --git a/sci-libs/cfitsio/cfitsio-3.310.ebuild b/sci-libs/cfitsio/cfitsio-3.310.ebuild
new file mode 100644
index 000000000000..39a1a5a3c474
--- /dev/null
+++ b/sci-libs/cfitsio/cfitsio-3.310.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.310.ebuild,v 1.1 2012/08/17 00:08:21 bicatali Exp $
+
+EAPI=4
+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 .
+ fi
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ 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
+}