public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/cfitsio: ChangeLog cfitsio-3.130.ebuild
@ 2009-02-18 11:54 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2009-02-18 11:54 UTC (permalink / raw
  To: gentoo-commits

bicatali    09/02/18 11:54:01

  Modified:             ChangeLog
  Added:                cfitsio-3.130.ebuild
  Log:
  Version bump
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.26                 sci-libs/cfitsio/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.25&r2=1.26

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog	9 Feb 2009 20:32:43 -0000	1.25
+++ ChangeLog	18 Feb 2009 11:54:01 -0000	1.26
@@ -1,6 +1,12 @@
 # ChangeLog for sci-libs/cfitsio
 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.25 2009/02/09 20:32:43 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.26 2009/02/18 11:54:01 bicatali Exp $
+
+*cfitsio-3.130 (18 Feb 2009)
+
+  18 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/cfitsio-3.130-autotools.patch, +cfitsio-3.130.ebuild:
+  Version bump
 
   09 Feb 2009; Markus Meier <maekke@gentoo.org> cfitsio-3.100-r1.ebuild:
   amd64/x86 stable, bug #256681



1.1                  sci-libs/cfitsio/cfitsio-3.130.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.130.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.130.ebuild?rev=1.1&content-type=text/plain

Index: cfitsio-3.130.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.130.ebuild,v 1.1 2009/02/18 11:54:01 bicatali Exp $

EAPI=2
inherit eutils fortran autotools

DESCRIPTION="C and Fortran library for manipulating FITS files"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz"

LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc fortran"

DEPEND="fortran? ( dev-lang/cfortran )"
RDEPEND=""

S="${WORKDIR}/${PN}"

pkg_setup() {
	if use fortran; then
		FORTRAN="gfortran g77 ifc"
		fortran_pkg_setup
	fi
}

src_prepare() {
	# avoid internal cfortran
	if use fortran; then
		sed -i \
			-e 's:"cfortran.h":<cfortran.h>:' \
			f77_wrap.h || die "sed fortran failed"
		mv cfortran.h cfortran.h.disabled
	fi
	epatch "${FILESDIR}"/${P}-autotools.patch
	eautoreconf
}

src_configure() {
	econf $(use_enable fortran)
}

src_install () {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc changes.txt README cfitsio.doc || die "dodoc failed"
	insinto /usr/share/doc/${PF}/examples
	doins cookbook.c testprog.c speed.c smem.c || die "install examples failed"
	use fortran && dodoc fitsio.doc && doins cookbook.f
	if use doc; then
		insinto /usr/share/doc/${PF}/
		doins quick.ps cfitsio.ps fpack.pdf
		use fortran && doins fitsio.ps
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-18 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18 11:54 [gentoo-commits] gentoo-x86 commit in sci-libs/cfitsio: ChangeLog cfitsio-3.130.ebuild Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox