From 98b55836db91b3c37e8ddc46faef8454b4f23d7f Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Tue, 2 Feb 2010 16:28:25 +0000 Subject: Initial commit of fitscut (Portage version: 2.2_rc62/git/Linux x86_64) (Signed Manifest commit) --- sci-misc/fitscut/fitscut-1.4.4.ebuild | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sci-misc/fitscut/fitscut-1.4.4.ebuild (limited to 'sci-misc/fitscut/fitscut-1.4.4.ebuild') diff --git a/sci-misc/fitscut/fitscut-1.4.4.ebuild b/sci-misc/fitscut/fitscut-1.4.4.ebuild new file mode 100644 index 000000000..5c85213a8 --- /dev/null +++ b/sci-misc/fitscut/fitscut-1.4.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/fitsverify/fitsverify-20100129.ebuild,v 1.1 2010/01/31 21:48:15 bicatali Exp $ + +EAPI=2 +inherit autotools + +DESCRIPTION="Extract cutouts from FITS image files" +HOMEPAGE="http://acs.pha.jhu.edu/general/software/fitscut/" +SRC_URI="${HOMEPAGE}/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sci-libs/cfitsio-3 + sci-astronomy/wcstools + media-libs/libpng + media-libs/jpeg" +DEPEND="${RDEPEND}" + +src_prepare() { + # gentoo wcs is called wcstools to avoid conflict with wcslib + sed -i \ + -e 's/libwcs/wcs/g' \ + wcs*.c fitscut.c || die + sed -i \ + -e 's/LIB(wcs,/LIB(wcstools,/' \ + -e 's/-lwcs/-lwcstools/' \ + configure.in || die + eautoreconf +} + +src_install() { + emake DESDTIR="${D}" || die "emake install failed" + dodoc README AUTHORS TODO NEWS ChangeLog THANKS +} -- cgit v1.2.3-18-g5258