From: Mike Frysinger Date: Thu, 21 Apr 2016 04:57:13 +0000 (-0400) Subject: sys-block/scsirastools: update to EAPI=5 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7ed0d505606b04c93792ed8709919135cbb87847;p=gentoo.git sys-block/scsirastools: update to EAPI=5 --- diff --git a/sys-block/scsirastools/scsirastools-1.5.7.ebuild b/sys-block/scsirastools/scsirastools-1.5.7.ebuild index fa1f40877aab..2a84c3dfe4c7 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 }