diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2009-11-21 13:51:48 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2009-11-21 13:51:48 +0000 |
commit | 7cf30bb975888c73fde53343dc9ab6d26e125c35 (patch) | |
tree | 5ec1253ec4e5b877e3fbebde7f93266249021fb8 /sys-block/megactl/megactl-0.4.1-r1.ebuild | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-7cf30bb975888c73fde53343dc9ab6d26e125c35.tar.gz gentoo-2-7cf30bb975888c73fde53343dc9ab6d26e125c35.tar.bz2 gentoo-2-7cf30bb975888c73fde53343dc9ab6d26e125c35.zip |
fix bug #218606
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-block/megactl/megactl-0.4.1-r1.ebuild')
-rw-r--r-- | sys-block/megactl/megactl-0.4.1-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-block/megactl/megactl-0.4.1-r1.ebuild b/sys-block/megactl/megactl-0.4.1-r1.ebuild new file mode 100644 index 000000000000..2d9a3357dff2 --- /dev/null +++ b/sys-block/megactl/megactl-0.4.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megactl/megactl-0.4.1-r1.ebuild,v 1.1 2009/11/21 13:51:48 wschlich Exp $ + +EAPI=2 + +inherit eutils + +IUSE="" +DESCRIPTION="LSI MegaRAID control utility" +HOMEPAGE="http://sourceforge.net/projects/megactl/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + epatch "${FILESDIR}"/${P}.patch + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + cd src + use x86 && MY_MAKEOPTS="ARCH=-m32" + use amd64 && MY_MAKEOPTS="ARCH=-m64" + emake ${MY_MAKEOPTS} || die "make failed" +} + +src_install() { + cd src + dosbin megactl megasasctl + use x86 && dosbin megatrace + use amd64 && ewarn "megatrace was not installed because it does not compile on amd64" + dodoc megarpt megasasrpt ../README +} |