From 423d21dcfee183cc4b04d29c1621615e8c30f834 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jan 2018 18:55:01 +0000 Subject: gentoo resync : 04.01.2018 --- sys-block/megamgr/megamgr-5.20-r2.ebuild | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'sys-block/megamgr/megamgr-5.20-r2.ebuild') diff --git a/sys-block/megamgr/megamgr-5.20-r2.ebuild b/sys-block/megamgr/megamgr-5.20-r2.ebuild index d8758416c831..1ebc56400d12 100644 --- a/sys-block/megamgr/megamgr-5.20-r2.ebuild +++ b/sys-block/megamgr/megamgr-5.20-r2.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="3" - -inherit multilib +EAPI=6 DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool" HOMEPAGE="http://www.lsi.com" @@ -15,29 +13,24 @@ SLOT="0" # can remove the distfiles from their mirror anytime. KEYWORDS="~amd64 ~x86" IUSE="" +RESTRICT="mirror fetch" DEPEND="app-arch/unzip" RDEPEND="" -RESTRICT="mirror fetch" - S="${WORKDIR}" QA_PRESTRIPPED="/opt/bin/megamgr" pkg_nofetch() { einfo "Upstream has implement a mandatory clickthrough EULA for distfile download" - einfo "Please visit $SRC_URI" - einfo "And place $A in ${DISTDIR}" -} - -pkg_setup() { - use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; } + einfo "Please visit ${SRC_URI}" + einfo "And place ${A} in ${DISTDIR}" } src_install() { - newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt - exeinto /opt/bin - newexe megamgr.bin megamgr || die + newexe megamgr.bin megamgr + + newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt } -- cgit v1.2.3