summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-04-25 17:01:46 +0000
committerJustin Lecher <jlec@gentoo.org>2012-04-25 17:01:46 +0000
commitaacfae39bfa29dc696bf0154c588ffdfa35ee4aa (patch)
tree89c26da0ef6a94f68df57af1219a7c01b69ad618 /sci-misc/h5utils
parentsci-visualization/quickplot: Drop unnessecary die, cleaned old (diff)
downloadgentoo-2-aacfae39bfa29dc696bf0154c588ffdfa35ee4aa.tar.gz
gentoo-2-aacfae39bfa29dc696bf0154c588ffdfa35ee4aa.tar.bz2
gentoo-2-aacfae39bfa29dc696bf0154c588ffdfa35ee4aa.zip
sci-misc/h5utils: Move to EPAI=4 and autotools-utils
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc/h5utils')
-rw-r--r--sci-misc/h5utils/ChangeLog8
-rw-r--r--sci-misc/h5utils/h5utils-1.12.1-r2.ebuild38
-rw-r--r--sci-misc/h5utils/metadata.xml10
3 files changed, 29 insertions, 27 deletions
diff --git a/sci-misc/h5utils/ChangeLog b/sci-misc/h5utils/ChangeLog
index cbc1901b5408..c8f8758db6ad 100644
--- a/sci-misc/h5utils/ChangeLog
+++ b/sci-misc/h5utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/h5utils
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/ChangeLog,v 1.15 2011/10/08 16:28:56 phajdan.jr Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/ChangeLog,v 1.16 2012/04/25 17:01:44 jlec Exp $
+
+ 25 Apr 2012; Justin Lecher <jlec@gentoo.org> h5utils-1.12.1-r2.ebuild,
+ metadata.xml:
+ Move to EPAI=4 and autotools-utils
08 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
h5utils-1.12.1-r2.ebuild:
diff --git a/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild b/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild
index 2e7a17784084..a671f47f5fb8 100644
--- a/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild
+++ b/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild
@@ -1,22 +1,24 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild,v 1.3 2011/10/08 16:28:56 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild,v 1.4 2012/04/25 17:01:46 jlec Exp $
EAPI=4
-inherit autotools eutils
+AUTOTOOLS_AUTORECONF=true
-DESCRIPTION="utilities for visualization and conversion of HDF5 files"
+inherit autotools-utils
+
+DESCRIPTION="Utilities for visualization and conversion of HDF5 files"
HOMEPAGE="http://ab-initio.mit.edu/h5utils/"
SRC_URI="http://ab-initio.mit.edu/h5utils/${P}.tar.gz"
+SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc x86"
-
IUSE="hdf octave"
-SLOT="0"
-DEPEND="media-libs/libpng
+DEPEND="
+ media-libs/libpng
sci-libs/hdf5
sys-libs/zlib
hdf? (
@@ -25,20 +27,16 @@ DEPEND="media-libs/libpng
)"
RDEPEND="${DEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-automagic.patch \
- "${FILESDIR}"/${P}-png15.patch
- eautoreconf
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-automagic.patch
+ "${FILESDIR}"/${P}-png15.patch
+ )
src_configure() {
- econf \
- --without-v5d \
- $(use_with octave) \
+ local myeconfargs=(
+ --without-v5d
+ $(use_with octave)
$(use_with hdf)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc README NEWS AUTHORS
+ )
+ autotools-utils_src_configure
}
diff --git a/sci-misc/h5utils/metadata.xml b/sci-misc/h5utils/metadata.xml
index 35866ea57d98..a83a21c8c5f4 100644
--- a/sci-misc/h5utils/metadata.xml
+++ b/sci-misc/h5utils/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<use>
- <flag name='octave'>Build Octave plugins</flag>
- <flag name='hdf'>Build hdf to hdf5 (and vice-versa) converter</flag>
-</use>
+ <herd>sci</herd>
+ <use>
+ <flag name="octave">Build Octave plugins</flag>
+ <flag name="hdf">Build hdf to hdf5 (and vice-versa) converter</flag>
+ </use>
</pkgmetadata>