aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-03 17:37:48 +0100
committerJustin Lecher <jlec@gentoo.org>2013-03-03 17:37:48 +0100
commit5792a0b635ee00badc89a3a6aa443b2e5d15a372 (patch)
treec9902e5ea8efb027150e334ead17c3b72f17aba9
parentsci-chemistry/nmrpipe: Fix quoting (diff)
downloadsci-5792a0b635ee00badc89a3a6aa443b2e5d15a372.tar.gz
sci-5792a0b635ee00badc89a3a6aa443b2e5d15a372.tar.bz2
sci-5792a0b635ee00badc89a3a6aa443b2e5d15a372.zip
sci-astronomy/stiff: Move to EAPI=5 and autotools-utils
Package-Manager: portage-2.2.0_alpha164
-rw-r--r--sci-astronomy/stiff/ChangeLog5
-rw-r--r--sci-astronomy/stiff/metadata.xml4
-rw-r--r--sci-astronomy/stiff/stiff-9999.ebuild23
3 files changed, 17 insertions, 15 deletions
diff --git a/sci-astronomy/stiff/ChangeLog b/sci-astronomy/stiff/ChangeLog
index 5d562b9e3..702e17376 100644
--- a/sci-astronomy/stiff/ChangeLog
+++ b/sci-astronomy/stiff/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-astronomy/stiff
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stiff/ChangeLog,v 1.7 2011/08/04 18:33:30 bicatali Exp $
+ 03 Mar 2013; Justin Lecher <jlec@gentoo.org> stiff-9999.ebuild, metadata.xml:
+ Move to EAPI=5 and autotools-utils
+
*stiff-9999 (09 Jul 2012)
09 Jul 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +stiff-9999.ebuild,
diff --git a/sci-astronomy/stiff/metadata.xml b/sci-astronomy/stiff/metadata.xml
index 320c9fec8..70689020c 100644
--- a/sci-astronomy/stiff/metadata.xml
+++ b/sci-astronomy/stiff/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
STIFF is a program that convert scientific FITS images to the
more popular TIFF, in 8 (grayscale) or 24 (true colour: 3 times 8) bits per
pixel.
diff --git a/sci-astronomy/stiff/stiff-9999.ebuild b/sci-astronomy/stiff/stiff-9999.ebuild
index 961d68bf5..8dacd157b 100644
--- a/sci-astronomy/stiff/stiff-9999.ebuild
+++ b/sci-astronomy/stiff/stiff-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stiff/stiff-2.1.3.ebuild,v 1.1 2011/04/10 14:45:35 bicatali Exp $
-EAPI=4
-
+EAPI=5
if [[ ${PV} == "9999" ]] ; then
_SVN=subversion
@@ -15,7 +14,9 @@ else
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-inherit ${_SVN} autotools
+AUTOTOOLS_AUTORECONF=true
+
+inherit ${_SVN} autotools-utils
DESCRIPTION="Converts astronomical FITS images to the TIFF format"
HOMEPAGE="http://astromatic.iap.fr/software/stiff"
@@ -24,20 +25,18 @@ LICENSE="GPL-3"
SLOT="0"
IUSE="doc threads"
-RDEPEND="media-libs/tiff
+RDEPEND="
+ media-libs/tiff
virtual/jpeg
sys-libs/zlib"
DEPEND="${RDEPEND}"
-src_prepare() {
- eautoreconf
-}
-
src_configure() {
- econf $(use_enable threads)
+ local myeconfargs=( $(use_enable threads) )
+ autotools-utils_src_configure
}
src_install () {
- default
- use doc && dodoc doc/*
+ use doc && DOCS=( doc/. )
+ autotools-utils_src_install
}