# Copyright 1999-2024 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools MY_PN="${PN}_src" MY_P="${MY_PN}_${PV}" DESCRIPTION="The Host Bus Adapter API for managing Fibre Channel Host Bus Adapters" HOMEPAGE="http://hbaapi.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" LICENSE="as-is" SLOT="0" KEYWORDS="~ppc ~x86 ~amd64" IUSE="" DEPEND="" RDEPEND="" S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}/${P}-fix-implicit-conversion-to-pointer.patch" ) src_prepare() { cp "${FILESDIR}"/build/* "${S}"/ -Rp default eautoreconf } src_compile() { econf --disable-static emake -j1 all } src_install() { default dodoc readme.txt }