commit: 7ed0d505606b04c93792ed8709919135cbb87847
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 04:57:13 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 04:57:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed0d505
sys-block/scsirastools: update to EAPI=5
sys-block/scsirastools/scsirastools-1.5.7.ebuild | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/sys-block/scsirastools/scsirastools-1.5.7.ebuild
b/sys-block/scsirastools/scsirastools-1.5.7.ebuild
index fa1f4087..2a84c3d 100644
--- a/sys-block/scsirastools/scsirastools-1.5.7.ebuild
+++ b/sys-block/scsirastools/scsirastools-1.5.7.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
+
+EAPI="5"
inherit autotools eutils
@@ -17,9 +18,7 @@ RDEPEND="sys-apps/rescan-scsi-bus
sys-apps/sg3_utils"
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
# this builds a really old mdadm
sed -i \
-e '/RPMB/d' \
@@ -39,18 +38,14 @@ src_unpack() {
done
}
-src_compile() {
- econf --sbindir=/usr/sbin \
- || die "econf failed"
- emake \
- || die "emake failed"
+src_configure() {
+ econf --sbindir=/usr/sbin
}
src_install() {
into /usr
docdir="/usr/share/doc/${PF}/"
- emake install DESTDIR="${D}" datato="${D}${docdir}" \
- || die "emake install failed"
+ emake install DESTDIR="${D}" datato="${D}${docdir}"
dosbin files/sgevt
dosbin files/mdevt
# unneeded files
@@ -60,6 +55,4 @@ src_install() {
doins files/*.mdf
# new docs
dodoc ChangeLog AUTHORS TODO
- # ensure that other docs from the emake install are compressed too.
- prepalldocs
}