# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P="linuxfirmwarekit" S=${WORKDIR}/${MY_P} DESCRIPTION="The Linux-ready Firmware Developer Kit is a tool to test how well Linux works together with the firmware (BIOS or EFI) of your machine." HOMEPAGE="http://www.linuxfirmwarekit.org/" SRC_URI="http://www.linuxfirmwarekit.org/download/${PN}-r${PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="1" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-libs/glib-2 sys-libs/slang dev-libs/newt" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/Makefile-no-externals.diff epatch ${FILESDIR}/main.c-fix-plugins-dir.diff } src_compile() { emake } src_install() { dolib.so libstandalone.so dobin biostest exeinto /usr/libexec/firmwarekit/plugins doexe plugins/* insinto /usr/libexec/firmwarekit/shelltools doins shelltools/* dodoc Documentation/* docinto TestsInfo dodoc Documentation/TestsInfo/* }