From e68d405c5d712af4387159df07e226217bdda049 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Apr 2022 22:33:41 +0100 Subject: gentoo resync : 06.04.2022 --- sys-block/megarc/megarc-1.11-r3.ebuild | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'sys-block/megarc/megarc-1.11-r3.ebuild') diff --git a/sys-block/megarc/megarc-1.11-r3.ebuild b/sys-block/megarc/megarc-1.11-r3.ebuild index 096122d4a4f7..a352a738c3d0 100644 --- a/sys-block/megarc/megarc-1.11-r3.ebuild +++ b/sys-block/megarc/megarc-1.11-r3.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="8" - -inherit multilib +EAPI=8 MY_PN="ut_linux_megarc" MY_PV="${PV//./-}" @@ -20,6 +18,7 @@ HOMEPAGE="http://www.avagotech.com/cs/Satellite?q=megacli&pagename=AVG2%2Fsearch SRC_URI=" https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/README_FOR_${MY_P}-zip.txt" +S="${WORKDIR}" LICENSE="LSI" SLOT="0" @@ -27,23 +26,18 @@ SLOT="0" # can remove the distfiles from their mirror anytime. KEYWORDS="~amd64 ~x86" IUSE="doc" - -DEPEND="app-arch/unzip - doc? ( app-text/antiword )" -RDEPEND="" - RESTRICT="mirror bindist" -S="${WORKDIR}" +BDEPEND=" + app-arch/unzip + doc? ( app-text/antiword )" QA_PREBUILT="/opt/bin/megarc" -pkg_setup() { - use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; } -} - src_compile() { - use doc && antiword ut_linux.doc > ${PN}-manual.txt + if use doc; then + antiword ut_linux.doc > ${PN}-manual.txt || die + fi } src_install() { -- cgit v1.2.3