# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit autotools git-2 EGIT_REPO_URI="git://kernel.ubuntu.com/hwe/fwts" EGIT_COMMIT="V0.26.04" DESCRIPTION="Firmware Test Suite" HOMEPAGE="https://wiki.ubuntu.com/Kernel/Reference/fwts" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND="dev-libs/json-c dev-libs/libpcre sys-apps/pciutils sys-power/iasl sys-power/pmtools sys-apps/dmidecode" DEPEND="${RDEPEND} sys-devel/libtool" S=${WORKDIR} src_prepare(){ sed -i -e 's/-Wall -Werror/-Wall/' configure.ac {,src/,src/lib/src/}Makefile.am || die sed -i -e 's:/usr/bin/lspci:'$(type -p lspci)':' src/lib/include/fwts_binpaths.h || die # Fix json-c includes if has_version '>=dev-libs/json-c-0.10-r1'; then sed -e 's/^#include