diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-03 16:54:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-03 16:54:07 +0000 |
commit | f815aaf6227ed6fc573c3fea42360794ee8cfe4a (patch) | |
tree | 8727e7f43aa625f2c917b7e14e0379efc5e02ad1 /sci-libs | |
parent | Version bump (diff) | |
download | gentoo-2-f815aaf6227ed6fc573c3fea42360794ee8cfe4a.tar.gz gentoo-2-f815aaf6227ed6fc573c3fea42360794ee8cfe4a.tar.bz2 gentoo-2-f815aaf6227ed6fc573c3fea42360794ee8cfe4a.zip |
Version bump. Updated upstream fork. Added a tools flag to avoid building some execs.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cfitsio/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-3.290.ebuild | 47 | ||||
-rw-r--r-- | sci-libs/cfitsio/metadata.xml | 4 |
3 files changed, 60 insertions, 2 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog index dd9d9036a2c4..780c5cd10fa9 100644 --- a/sci-libs/cfitsio/ChangeLog +++ b/sci-libs/cfitsio/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/cfitsio -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.52 2011/08/04 18:44:02 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.53 2012/04/03 16:54:07 bicatali Exp $ + +*cfitsio-3.290 (03 Apr 2012) + + 03 Apr 2012; Sébastien Fabbro <bicatali@gentoo.org> +cfitsio-3.290.ebuild, + metadata.xml: + Version bump. Updated upstream fork. Added a tools flag to avoid building + some execs. 04 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml: Switched herd to sci-astronomy diff --git a/sci-libs/cfitsio/cfitsio-3.290.ebuild b/sci-libs/cfitsio/cfitsio-3.290.ebuild new file mode 100644 index 000000000000..06a56e56d79c --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-3.290.ebuild @@ -0,0 +1,47 @@ +# 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.290.ebuild,v 1.1 2012/04/03 16:54:07 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="BSD" +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 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 () { + dodoc changes.txt README cfitsio.doc + 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 + use doc && dodoc quick.pdf cfitsio.pdf fpackguide.pdf + use doc && use fortran && dodoc fitsio.pdf + autotools-utils_src_install +} diff --git a/sci-libs/cfitsio/metadata.xml b/sci-libs/cfitsio/metadata.xml index 8a3a7bb028b4..0089a59411e9 100644 --- a/sci-libs/cfitsio/metadata.xml +++ b/sci-libs/cfitsio/metadata.xml @@ -12,4 +12,8 @@ features for manipulating and filtering the information in FITS files. </longdescription> +<use> + <flag name="tools">Build execs fpack, funpack, imcopy, fitscopy, listhead + </flag> +</use> </pkgmetadata> |