summaryrefslogtreecommitdiff
blob: 5a8f3e157f516c71068808f6ba3942a7d62a58f5 (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
37
38
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hbaapi/hbaapi-2.2.ebuild,v 1.1 2006/09/09 21:35:42 robbat2 Exp $

DESCRIPTION="The Host Bus Adapter API for managing Fibre Channel Host Bus Adapters"
HOMEPAGE="http://hbaapi.sourceforge.net/"
MY_PN="${PN}_src"
MY_P="${MY_PN}_${PV}"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz
		 mirror://gentoo/${P}.Makefile.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~ppc ~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=""

src_unpack() {
	unpack ${A}
	mv ${WORKDIR}/${P}.Makefile ${S}/Makefile
}

src_compile() {
	# not parallel safe!
	emake -j1 all
}

src_install() {
	into /usr
	dolib.so libHBAAPI.so
	dosbin hbaapitest
	insinto /etc
	doins ${FILESDIR}/hba.conf
	dodoc readme.txt
}