summaryrefslogtreecommitdiff
blob: 38d601618633a234a5755d9d526e5f0fe05afba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/lsiutil/lsiutil-1.62.ebuild,v 1.2 2012/05/07 04:08:14 patrick Exp $

EAPI="3"

# upstream has added a login wall and other silly
RESTRICT="fetch"

DESCRIPTION="LSI Logic Fusion MPT Command Line Interface management tool"
HOMEPAGE="http://www.lsi.com/"
SRC_URI="http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/LSIUtil_${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 ~ia64 ~x86"
IUSE=""

RESTRICT="mirror bindist"

RDEPEND=""
DEPEND="app-arch/unzip"

src_install() {
	if use x86; then
		dosbin Linux/lsiutil || die
	elif use amd64; then
		newsbin Linux/lsiutil.x86_64 lsiutil || die
	elif use ia64; then
		newsbin Linux/lsiutil.ia64 lsiutil || die
	fi

	dodoc changes.txt
}