aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2014-03-27 14:51:02 -0700
committerSébastien Fabbro <bicatali@gentoo.org>2014-03-27 14:51:02 -0700
commit57ba1e264928bd287f497f1c2f44ef853b3944d4 (patch)
treee4aeca0726757ca39d101fb02c55c6b53e01d60e /sci-misc/fitscut
parentMerge pull request #208 from olifre/vgm-subslot (diff)
downloadsci-57ba1e264928bd287f497f1c2f44ef853b3944d4.tar.gz
sci-57ba1e264928bd287f497f1c2f44ef853b3944d4.tar.bz2
sci-57ba1e264928bd287f497f1c2f44ef853b3944d4.zip
sci-misc/fitscut: Switch to EAPI5, autotools-utils, fixed for prefix
Package-Manager: portage-2.2.8-prefix
Diffstat (limited to 'sci-misc/fitscut')
-rw-r--r--sci-misc/fitscut/ChangeLog7
-rw-r--r--sci-misc/fitscut/Manifest2
-rw-r--r--sci-misc/fitscut/fitscut-1.4.4.ebuild23
-rw-r--r--sci-misc/fitscut/metadata.xml2
4 files changed, 19 insertions, 15 deletions
diff --git a/sci-misc/fitscut/ChangeLog b/sci-misc/fitscut/ChangeLog
index 7716847a6..6e8a13862 100644
--- a/sci-misc/fitscut/ChangeLog
+++ b/sci-misc/fitscut/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-misc/fitscut
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 27 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> fitscut-1.4.4.ebuild,
+ metadata.xml:
+ sci-misc/fitscut: Switch to EAPI5, autotools-utils, fixed for prefix
+
14 Mar 2011; Justin Lecher <jlec@gentoo.org> fitscut-1.4.4.ebuild:
Moved media-libs/jpeg -> virtual/jpeg
@@ -10,4 +14,3 @@
02 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org>
+fitscut-1.4.4.ebuild, +metadata.xml:
Initial import
-
diff --git a/sci-misc/fitscut/Manifest b/sci-misc/fitscut/Manifest
index 731757698..3c69b4721 100644
--- a/sci-misc/fitscut/Manifest
+++ b/sci-misc/fitscut/Manifest
@@ -1 +1 @@
-DIST fitscut-1.4.4.tar.gz 163663 SHA256 1df936af9cd36bf1cd1e3a095ecc8bec68a6974525e0f4fd0e9cccb9633728bb
+DIST fitscut-1.4.4.tar.gz 163663 SHA256 1df936af9cd36bf1cd1e3a095ecc8bec68a6974525e0f4fd0e9cccb9633728bb SHA512 1d80671efeebfb07e7e2714d9cdbdd445a2e7644119d5b82ba4a8f033b36e773d13f87998ece45091f4a127beca374021e8c5afd88f649c9405fb329cd1ee97f WHIRLPOOL fa2a7ac7306988b574dd9155fe1062bd86fea8cf1bd45cfb8a05795d7ef305cd5de9d9061fe00b2d7e9f25c263f8db4bed252bf171082943b7c9d82684c0dcd4
diff --git a/sci-misc/fitscut/fitscut-1.4.4.ebuild b/sci-misc/fitscut/fitscut-1.4.4.ebuild
index 3580896ed..1a5bdee11 100644
--- a/sci-misc/fitscut/fitscut-1.4.4.ebuild
+++ b/sci-misc/fitscut/fitscut-1.4.4.ebuild
@@ -2,8 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
-inherit autotools
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
DESCRIPTION="Extract cutouts from FITS image files"
HOMEPAGE="http://acs.pha.jhu.edu/general/software/fitscut/"
@@ -11,11 +14,12 @@ SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
-RDEPEND=">=sci-libs/cfitsio-3
- sci-astronomy/wcstools
+RDEPEND="
+ >=sci-libs/cfitsio-3:0=
+ sci-astronomy/wcstools:0=
media-libs/libpng
virtual/jpeg"
DEPEND="${RDEPEND}"
@@ -25,14 +29,11 @@ src_prepare() {
sed -i \
-e 's/libwcs/wcs/g' \
wcs*.c fitscut.c || die
+ # cfitsio/fitsio.h might conflict with host on prefix
sed -i \
-e 's/LIB(wcs,/LIB(wcstools,/' \
-e 's/-lwcs/-lwcstools/' \
+ -e '/cfitsio\/fitsio.h/d' \
configure.in || die
- eautoreconf
-}
-
-src_install() {
- emake DESDTIR="${D}" || die "emake install failed"
- dodoc README AUTHORS TODO NEWS ChangeLog THANKS
+ autotools-utils_src_prepare
}
diff --git a/sci-misc/fitscut/metadata.xml b/sci-misc/fitscut/metadata.xml
index 3b60a949c..3d253f3a7 100644
--- a/sci-misc/fitscut/metadata.xml
+++ b/sci-misc/fitscut/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
+<herd>sci-astronomy</herd>
<longdescription lang="en">
fitscut is designed to extract cutouts from FITS image format
files. FITS, PNG, and JPEG output types are supported.