summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-12-23 22:33:11 +0100
committerManuel Rüger <mrueg@gentoo.org>2015-12-23 22:33:11 +0100
commit363bd9b1915554ca1edce60dc67932ba64e139ea (patch)
treed0bdc290b67c0c898a75ffb8a3d01b03c2941197 /sys-apps/fwts
parentdev-ruby/spring: Version bump (diff)
downloadgentoo-363bd9b1915554ca1edce60dc67932ba64e139ea.tar.gz
gentoo-363bd9b1915554ca1edce60dc67932ba64e139ea.tar.bz2
gentoo-363bd9b1915554ca1edce60dc67932ba64e139ea.zip
sys-apps/fwts: Version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-apps/fwts')
-rw-r--r--sys-apps/fwts/Manifest1
-rw-r--r--sys-apps/fwts/fwts-15.12.00.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/fwts/Manifest b/sys-apps/fwts/Manifest
index 692b8dc611f0..c5196f64df3c 100644
--- a/sys-apps/fwts/Manifest
+++ b/sys-apps/fwts/Manifest
@@ -1,2 +1,3 @@
DIST fwts-V14.12.00.tar.gz 3089700 SHA256 9fbc6d1bb8cff8c445d4b2ad0c080e7711564a35982e8a946156b7258e82f2ec SHA512 594cfdadcef031216807eccbf7f5a741643ff33322d84994027afdd08923fa423e1dd2621b9093034e7ac99cc2147b9dcb8b6f4dc2662b10232e55a3261aa91e WHIRLPOOL 2be8d45034e4337b6366d8fcd535010412f02d25859f041cb348b693c5e92822c1a0806a37b77ea4815899b7f03d946326caaec64e91d8d09baaba5301cae353
DIST fwts_15.03.01.orig.tar.gz 3097112 SHA256 9926baa672159e7990abcfd10c003db8dc0db6a45212189e00ae217504c1fa26 SHA512 3f27b21d67dd7db64547c19e2d74fc909aa5d64fc3aedf0fbca403111bb5578c97a0c7f930b540bcb48f48da8a47e4e02bd679170d7b003b40a49f8358be6033 WHIRLPOOL 2a347785105c02611cec7566643b2b8d5d81c555737e4f5a34b3564dafb938a3fa0bb4d575e0da4c216fbd518c44fddcd243dc07bbd5b0a8cd7a4321f0e01b9a
+DIST fwts_15.12.00.orig.tar.gz 3391289 SHA256 79813cf4b0602643bb164779792ecb2fa15ddd340ece04d41b74594c93e9ec63 SHA512 44fab3e665279562b865261e5998e820ba960688e13bac717c5bbdb59faa1e97fd1d85f7ba95b5c7a4623e48a657f13e1ad8c1355f37173534739f26e155f8be WHIRLPOOL cbd50b60a3cc980bf1a41fbe900b6cb1e4be5aa63820132edcd4fc98cd3d78b81019f5f348b7487d3e47a2a3b414cdfb67643860f54893015307d567b37da474
diff --git a/sys-apps/fwts/fwts-15.12.00.ebuild b/sys-apps/fwts/fwts-15.12.00.ebuild
new file mode 100644
index 000000000000..0c1ca88e0be5
--- /dev/null
+++ b/sys-apps/fwts/fwts-15.12.00.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools
+DESCRIPTION="Firmware Test Suite"
+HOMEPAGE="https://wiki.ubuntu.com/Kernel/Reference/fwts"
+SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-libs/json-c-0.10-r1
+ dev-libs/glib:2
+ 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
+ sed -e 's/^#include <json\//#include <json-c\//g' -i \
+ configure.ac || die
+ sed -e 's/^#include <json.h>/#include <json-c\/json.h>/' \
+ -i src/lib/include/fwts_json.h \
+ src/utilities/kernelscan.c || die
+ sed -e 's/-ljson/-ljson-c/'\
+ -i src/Makefile.am\
+ src/lib/src/Makefile.am\
+ src/utilities/Makefile.am || die
+
+ eautoreconf
+}