summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-12-06 13:39:50 -0800
committerZac Medico <zmedico@gentoo.org>2017-12-06 13:48:50 -0800
commit0d76bb0641f25b46fcd0a9bfb8817622c298d876 (patch)
tree59f75cd82957e42c9fa51e97e48b6e4ccc74bf11 /sys-block/perccli
parentapp-crypt/mit-krb5: amd64 stable wrt bug #639702 (diff)
downloadgentoo-0d76bb0641f25b46fcd0a9bfb8817622c298d876.tar.gz
gentoo-0d76bb0641f25b46fcd0a9bfb8817622c298d876.tar.bz2
gentoo-0d76bb0641f25b46fcd0a9bfb8817622c298d876.zip
sys-block/perccli: new package
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-block/perccli')
-rw-r--r--sys-block/perccli/Manifest2
-rw-r--r--sys-block/perccli/metadata.xml11
-rw-r--r--sys-block/perccli/perccli-7.1.007.0127.ebuild40
3 files changed, 53 insertions, 0 deletions
diff --git a/sys-block/perccli/Manifest b/sys-block/perccli/Manifest
new file mode 100644
index 000000000000..77f71e3d7266
--- /dev/null
+++ b/sys-block/perccli/Manifest
@@ -0,0 +1,2 @@
+DIST perccli_7.1-007.0127_linux.tar.gz 6560698 BLAKE2B b8195633f5a20e1a99b9761148c9e478989a44beaf02a9aceabb4007183363c9c0d4b76617148c7610de82daff7fe05d1a2ee7274a2aadc1f631142d66107fd4 SHA512 904d9662dee76d70110381d96547abf54cc5823fcc8c995bd6ccb0122a84303e0dfe081c5e56efe94aa6972b21335e54ec4b69c37d88f66b1d2e1e461e8c3032
+DIST poweredge-rc-h730_reference%20guide_en-us.pdf 1056352 BLAKE2B a68489ffa6a2e941c4d3613264a8249df76de73f476172f38a351e0fa1430f25de71deebc1abadc4be6e329438e74b9d976e1aa42dca5e8f5307359347fe3c92 SHA512 150c792eb62f0fbe7a311acf0f6f8199d91eff19441502f18a8880809d4659030ecc71867927a3cc62a765104832e850855bd25eb83d8b3ad7534e8a70b4f80c
diff --git a/sys-block/perccli/metadata.xml b/sys-block/perccli/metadata.xml
new file mode 100644
index 000000000000..e3895e231c5b
--- /dev/null
+++ b/sys-block/perccli/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+</maintainer>
+<use>
+ <flag name="efi">Install EFI variant as well</flag>
+</use>
+</pkgmetadata>
diff --git a/sys-block/perccli/perccli-7.1.007.0127.ebuild b/sys-block/perccli/perccli-7.1.007.0127.ebuild
new file mode 100644
index 000000000000..3818c0da40f1
--- /dev/null
+++ b/sys-block/perccli/perccli-7.1.007.0127.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit mount-boot rpm
+
+DESCRIPTION="LINUX PERCCLI Utility For All PERC Controllers"
+HOMEPAGE="http://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverId=F48C2"
+LICENSE="Avago BSD"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="efi doc"
+RESTRICT="strip"
+DEPEND=""
+RDEPEND=""
+QA_PREBUILT="opt/MegaRAID/perccli/perccli* boot/efi/perccli.efi"
+
+DISTFILE_DOC=poweredge-rc-h730_reference%20guide_en-us.pdf
+
+SRC_URI="https://downloads.dell.com/FOLDER04470715M/1/perccli_7.1-007.0127_linux.tar.gz
+ doc? ( http://topics-cdn.dell.com/pdf/poweredge-rc-h730_reference%20guide_en-us.pdf )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ default
+ rpm_unpack ./Linux/perccli-*.rpm
+}
+
+src_install() {
+ exeinto /opt/MegaRAID/perccli/
+ use amd64 && doexe opt/MegaRAID/perccli/perccli64 && \
+ dosym perccli64 /opt/MegaRAID/perccli/perccli
+ use x86 && doexe opt/MegaRAID/perccli/perccli
+ if use efi; then
+ exeinto /boot/efi/
+ doexe EFI/perccli.efi
+ fi
+ use doc && dodoc "${DISTDIR}"/${DISTFILE_DOC}
+}