summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-09-08 22:59:01 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-09-08 22:59:01 +0000
commitfcd4295e4b22f41b49b6f8383e5bd17cd0cc8ba5 (patch)
tree536ef04a6f172068544205aeebe57d7a5ff81c8d /sci-libs
parentVersion bump, fixes bug #336331. (diff)
downloadgentoo-2-fcd4295e4b22f41b49b6f8383e5bd17cd0cc8ba5.tar.gz
gentoo-2-fcd4295e4b22f41b49b6f8383e5bd17cd0cc8ba5.tar.bz2
gentoo-2-fcd4295e4b22f41b49b6f8383e5bd17cd0cc8ba5.zip
Drastically improved autotools patch, now include more tests, less automagic. Also switched to autotools-utils eclass
(Portage version: 2.2_rc77/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/cfitsio/ChangeLog9
-rw-r--r--sci-libs/cfitsio/cfitsio-3.250-r1.ebuild48
2 files changed, 56 insertions, 1 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog
index 9ea2f3d02c3f..89f6b32970bf 100644
--- a/sci-libs/cfitsio/ChangeLog
+++ b/sci-libs/cfitsio/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/cfitsio
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.44 2010/06/14 18:08:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.45 2010/09/08 22:59:01 bicatali Exp $
+
+*cfitsio-3.250-r1 (08 Sep 2010)
+
+ 08 Sep 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +cfitsio-3.250-r1.ebuild:
+ Drastically improved autotools patch, now include more tests, less
+ automagic. Also switched to autotools-utils eclass
*cfitsio-3.250 (14 Jun 2010)
diff --git a/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild b/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild
new file mode 100644
index 000000000000..bcb97332341e
--- /dev/null
+++ b/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.250-r1.ebuild,v 1.1 2010/09/08 22:59:01 bicatali Exp $
+
+EAPI=2
+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="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc fortran static-libs threads"
+
+DEPEND="fortran? ( dev-lang/cfortran )"
+RDEPEND=""
+
+src_prepare() {
+ # avoid internal cfortran
+ if use fortran; then
+ mv cfortran.h cfortran.h.disabled
+ ln -s /usr/include/cfortran.h .
+ fi
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ myeconfargs=(
+ $(use_enable threads)
+ $(use_enable fortran)
+ )
+ autotools-utils_src_configure
+}
+
+src_install () {
+ insinto /usr/share/doc/${PF}/examples
+ doins cookbook.c testprog.c speed.c smem.c
+ use fortran && doins cookbook.f testf77.f && dodoc fitsio.doc
+ dodoc changes.txt README cfitsio.doc
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins quick.ps cfitsio.ps fpackguide.pdf
+ use fortran && doins fitsio.ps
+ fi
+ autotools-utils_src_install
+}