diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 12:58:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 12:58:33 +0000 |
commit | 0374a8491c853f9331b95ed2a38e688e4d2edce5 (patch) | |
tree | 563dd0e0f6ee34895358db0f88d683934ca21756 /sys-block/storcli/storcli-7.1508.ebuild | |
parent | 070c77515d1406e762e9e344856546f0a15765b6 (diff) |
gentoo auto-resync : 18:11:2022 - 12:58:32
Diffstat (limited to 'sys-block/storcli/storcli-7.1508.ebuild')
-rw-r--r-- | sys-block/storcli/storcli-7.1508.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/sys-block/storcli/storcli-7.1508.ebuild b/sys-block/storcli/storcli-7.1508.ebuild deleted file mode 100644 index 85475aef40fd..000000000000 --- a/sys-block/storcli/storcli-7.1508.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit pax-utils toolchain-funcs - -# Upstream is still using strange version numbers -MY_PV="007.1508.0000.0000" - -DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)" -HOMEPAGE="https://www.broadcom.com/support/download-search?dk=storcli" -SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_PV}_Unified_StorCLI-PUL.zip -> ${P}.zip" - -LICENSE="Avago LSI BSD" -SLOT="0/7.15" -KEYWORDS="-* amd64" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/unzip" - -MY_STORCLI_BASEDIR="/opt/lsi/storcli" - -QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli - ${MY_STORCLI_BASEDIR:1}/storcli32" -QA_PREBUILT=${QA_PRESTRIPPED} - -src_unpack() { - mkdir srcfiles || die - pushd srcfiles &>/dev/null || die - default - mv Unified_storcli_all_os/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storcli_*.deb" - popd &>/dev/null || die - - rm -rf srcfiles || die - - # Unpack Ubuntu package which will be our $S content - unpack "${WORKDIR}"/storcli_*.deb - rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package" - unpack "${WORKDIR}"/data.tar.xz - - mkdir "${S}" || die "Failed to create '${S}'" -} - -src_prepare() { - default - - # Create clean $S - mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'" - rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files" -} - -src_install() { - exeinto "${MY_STORCLI_BASEDIR}" - newexe storcli64 storcli - - dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli - - pax-mark m "${D}${MY_STORCLI_BASEDIR}"/storcli -} |