public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/megactl/
Date: Sat, 15 Dec 2018 07:49:04 +0000 (UTC)	[thread overview]
Message-ID: <1544860138.b52994506200a76e4cc4615afafb66551256e830.robbat2@gentoo> (raw)

commit:     b52994506200a76e4cc4615afafb66551256e830
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jul 22 19:58:26 2018 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <m.mairkeimberger <AT> gmail.com>
(cherry picked from commit 7b4731e83eaceac34dcf7d4ec9d44cc6d8fe63c6)
Signed-off-by: Robin H. Johnson <robbat2 <AT> 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
+}


             reply	other threads:[~2018-12-15  7:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15  7:49 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-28 11:53 [gentoo-commits] repo/gentoo:master commit in: sys-block/megactl/ Mikle Kolyada
2018-12-28 11:53 Mikle Kolyada
2018-01-24 13:09 Manuel Rüger
2016-05-13 14:51 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1544860138.b52994506200a76e4cc4615afafb66551256e830.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox