diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:57:13 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:57:13 -0400 |
commit | 7ed0d505606b04c93792ed8709919135cbb87847 (patch) | |
tree | 877f1fc38212ee131baf1768eb566c83e8e4f963 /sys-block | |
parent | dev-util/crash: fix build w/newer glibc #580244 (diff) | |
download | gentoo-7ed0d505606b04c93792ed8709919135cbb87847.tar.gz gentoo-7ed0d505606b04c93792ed8709919135cbb87847.tar.bz2 gentoo-7ed0d505606b04c93792ed8709919135cbb87847.zip |
sys-block/scsirastools: update to EAPI=5
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/scsirastools/scsirastools-1.5.7.ebuild | 21 |
1 files 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 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 } |