diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-07-30 06:18:00 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-07-30 06:18:00 +0000 |
commit | 66a6348c95ed8752924ac8f8d5a9f690c2dc50f8 (patch) | |
tree | c3e6ee0a61c298c6733c81eedb1ebad7b72162c4 /sys-block/megacli | |
parent | Version bump (diff) | |
download | gentoo-2-66a6348c95ed8752924ac8f8d5a9f690c2dc50f8.tar.gz gentoo-2-66a6348c95ed8752924ac8f8d5a9f690c2dc50f8.tar.bz2 gentoo-2-66a6348c95ed8752924ac8f8d5a9f690c2dc50f8.zip |
version bump
(Portage version: 2.1.5.6)
Diffstat (limited to 'sys-block/megacli')
-rw-r--r-- | sys-block/megacli/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/megacli/megacli-2.00.11.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/sys-block/megacli/ChangeLog b/sys-block/megacli/ChangeLog index 14f015586aaf..5c5efb940b38 100644 --- a/sys-block/megacli/ChangeLog +++ b/sys-block/megacli/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/megacli # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.3 2008/02/08 21:09:02 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.4 2008/07/30 06:18:00 wschlich Exp $ + +*megacli-2.00.11 (30 Jul 2008) + + 30 Jul 2008; Wolfram Schlich <wschlich@gentoo.org> + +megacli-2.00.11.ebuild: + version bump 08 Feb 2008; Wolfram Schlich <wschlich@gentoo.org> megacli-1.01.40.ebuild: added missing unzip dep diff --git a/sys-block/megacli/megacli-2.00.11.ebuild b/sys-block/megacli/megacli-2.00.11.ebuild new file mode 100644 index 000000000000..fa2bade4815d --- /dev/null +++ b/sys-block/megacli/megacli-2.00.11.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-2.00.11.ebuild,v 1.1 2008/07/30 06:18:00 wschlich Exp $ + +inherit rpm + +DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool" +HOMEPAGE="http://www.lsi.com/" +SRC_URI="http://www.lsi.com/support/downloads/megaraid/miscellaneous/${PV}_Linux_MegaCLI.zip" + +LICENSE="LSI" +SLOT="0" +# This package can never enter stable, it can't be mirrored and upstream +# can remove the distfiles from their mirror anytime. +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +RESTRICT="strip mirror test" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./MegaCliLin.zip || die "failed to unpack inner ZIP" + rpm_unpack "${S}"/MegaCli-${PV}-1.i386.rpm || die "failed to unpack RPM" +} + +src_compile() { + echo "Nothing to compile." +} + +src_install() { + exeinto /opt/MegaRAID/MegaCli + case ${ARCH} in + amd64) MegaCli=MegaCli64;; + x86) MegaCli=MegaCli;; + *) die "invalid ARCH";; + esac + doexe opt/MegaRAID/MegaCli/${MegaCli} + dosym /opt/MegaRAID/MegaCli/${MegaCli} /usr/sbin/MegaCli +} + +pkg_postinst() { + einfo + einfo "As there's no dedicated manual, you might want to have" + einfo "a look at the following cheat sheet:" + einfo "http://tools.rapidsoft.de/perc/perc-cheat-sheet.pdf" + einfo +} |