From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C4A2138334 for ; Sat, 15 Dec 2018 07:49:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76838E092A; Sat, 15 Dec 2018 07:49:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E68CE092A for ; Sat, 15 Dec 2018 07:49:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BFED335C36 for ; Sat, 15 Dec 2018 07:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0080544B for ; Sat, 15 Dec 2018 07:49:04 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1544860138.b52994506200a76e4cc4615afafb66551256e830.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/megactl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/megactl/megactl-0.4.1-r3.ebuild X-VCS-Directories: sys-block/megactl/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: b52994506200a76e4cc4615afafb66551256e830 X-VCS-Branch: master Date: Sat, 15 Dec 2018 07:49:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7a0b315-841d-43b0-921d-cde69a0dd084 X-Archives-Hash: 98d6fdac055a23899c2aa24723af035e commit: b52994506200a76e4cc4615afafb66551256e830 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Jul 22 19:58:26 2018 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Dec 15 07:48:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5299450 sys-block/megactl: EAPI7, improve ebuild Closes: https://bugs.gentoo.org/663806 Signed-off-by: Michael Mair-Keimberger gmail.com> (cherry picked from commit 7b4731e83eaceac34dcf7d4ec9d44cc6d8fe63c6) Signed-off-by: Robin H. Johnson gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9318 sys-block/megactl/megactl-0.4.1-r3.ebuild | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/sys-block/megactl/megactl-0.4.1-r3.ebuild b/sys-block/megactl/megactl-0.4.1-r3.ebuild new file mode 100644 index 00000000000..e5546968b34 --- /dev/null +++ b/sys-block/megactl/megactl-0.4.1-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="LSI MegaRAID control utility" +HOMEPAGE="https://sourceforge.net/projects/megactl/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/${P}.patch + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-gcc-fixes.patch + "${FILESDIR}"/${P}-tracefix.patch ) + +src_compile() { + use x86 && MY_MAKEOPTS="ARCH=-m32" + use amd64 && MY_MAKEOPTS="ARCH=-m64" + emake -C src CC=$(tc-getCC) ${MY_MAKEOPTS} +} + +src_install() { + cd src || die + dosbin megactl megasasctl megarpt megasasrpt + # it's not quite fixed yet + [ -x megatrace ] && dosbin megatrace + dodoc ../README +}