# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/megamgr-5.20-r1.ebuild,v 1.2 2009/01/07 04:42:40 tsunam Exp $ inherit multilib DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool" HOMEPAGE="http://www.lsi.com" SRC_URI="http://www.lsi.com/DistributionSystem/AssetDocument/files/support/rsa/utilities/megamgr/ut_linux_${PN##mega}_${PV}.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}" pkg_setup() { use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; } } src_compile() { echo "Nothing to compile." } src_install() { newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt newsbin "${FILESDIR}"/megamgr-r1 megamgr dosbin megamgr.bin }