summaryrefslogtreecommitdiff
path: root/sys-block/megarc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/megarc')
-rw-r--r--sys-block/megarc/Manifest2
-rw-r--r--sys-block/megarc/megarc-1.11-r3.ebuild24
2 files changed, 10 insertions, 16 deletions
diff --git a/sys-block/megarc/Manifest b/sys-block/megarc/Manifest
index 00d3fd1fb8ac..f19648cc0781 100644
--- a/sys-block/megarc/Manifest
+++ b/sys-block/megarc/Manifest
@@ -1,4 +1,4 @@
DIST README_FOR_ut_linux_megarc_1-11-zip.txt 3512 BLAKE2B acaf7d5213b1c13d46a8cca23f5f4ad87d8fa27bf64f61bd57916ff1e0addb0593f53b654a3383e2cb8342c2332b8e55cd5ead5830d157de52b36abef1be1167 SHA512 8ee63fad41875442e158b72a82fafe1ed15e00fd47bed2ff1f4f37f4bd6685eccfcd361294a2694a23c4d53d024d9488d5272ba5352685f346b7722ae7cff694
DIST ut_linux_megarc_1-11.zip 301703 BLAKE2B e6092fe3e6a58b1d88701801121f2e77b324d3420aa55c824c600917387275f015677c470b7b9e1639777bfed40141e3cb7f5d88f6b08559d2243cb1b657f187 SHA512 9f79ad0c0bb05b9fd9044d66551da0ac95485ddd8ed3a37f1bdb064db80c97897f904150418e93b66783e86bc3ccb2ec1eca9bac7a5dd25bb03cd4414b8389b7
-EBUILD megarc-1.11-r3.ebuild 1843 BLAKE2B 9d4d40b0998b53bfda47b1ea3ce1f177407f74ea2c6212daab0d4aa926774c0dc36e0a38ad83071c2bd103e8a8bcececb7ca8da3b5e6a59b8d7144c95cb8dcde SHA512 bd9c77bfa9f92952571b99f00da92bbc28aad441e7b91c5391b559367ddc1adf95cd32e4de7ab814248350df35a3a13c620af71269e245c53e36de4e0f88645e
+EBUILD megarc-1.11-r3.ebuild 1734 BLAKE2B 05e25b66f9fad2ce6b32d0fa9eb1cfb814270f822b67b4e98100f66be7453aa2b294e682c2e60d9c3f3dc44776c6038ff38a54798e8cd0a7557a7b375a0791af SHA512 b64b6b61c9682bf46e64ef8e0393c3edee4c04d31222a4151ec05473f52ef83787cee912fc8831ea5456f231cfb034a042679e61bc6e74014b82e213bd2221f1
MISC metadata.xml 319 BLAKE2B 5a45f58f8cc5f61094270415357ea4a684040c69f261e9bc3bc07ef5cf8252e5c1201aac2317c2a14571185e7964fcd706533b15022820d14cb653c8aef1cc14 SHA512 c8e3764dd6248eebe247218e5a53136627fb3117f620ee336d6555f7c6b5fd62fc2eeb287d63120e50efa14496db647363ae3f2047efcfcca7cfde6e7a8fe6aa
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() {