aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/swarp/swarp-9999.ebuild')
-rw-r--r--sci-astronomy/swarp/swarp-9999.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/sci-astronomy/swarp/swarp-9999.ebuild b/sci-astronomy/swarp/swarp-9999.ebuild
index c764e79b7..920850f65 100644
--- a/sci-astronomy/swarp/swarp-9999.ebuild
+++ b/sci-astronomy/swarp/swarp-9999.ebuild
@@ -2,19 +2,22 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
if [[ ${PV} == "9999" ]] ; then
_SVN=subversion
ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
SRC_URI=""
KEYWORDS=""
+ AUTOTOOLS_AUTORECONF=1
else
SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-inherit ${_SVN} autotools
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit ${_SVN} autotools-utils
DESCRIPTION="Resample and coadd astronomical FITS images"
HOMEPAGE="http://astromatic.iap.fr/software/swarp"
@@ -27,16 +30,12 @@ IUSE="doc threads"
RDEPEND=""
DEPEND="${RDEPEND}"
-src_prepare() {
- eautoreconf
-}
-
src_configure() {
- econf \
- $(use_enable threads)
+ local myeconfargs=( $(use_enable threads) )
+ autotools-utils_src_configure
}
src_install () {
- default
+ autotools-utils_src_install
use doc && dodoc doc/*
}