summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-01-25 14:44:10 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-25 14:45:10 +0100
commite66a3f4a664c8d9971df6816d6fa20f616d0c38a (patch)
treec2f3eee1961339304406574d4a982a4da8bbd0dc /sys-apps/fwupdate
parentsys-libs/efivar: Revbump to fix efi_guid_ux_capsule (diff)
downloadgentoo-e66a3f4a664c8d9971df6816d6fa20f616d0c38a.tar.gz
gentoo-e66a3f4a664c8d9971df6816d6fa20f616d0c38a.tar.bz2
gentoo-e66a3f4a664c8d9971df6816d6fa20f616d0c38a.zip
sys-apps/fwupdate: Bump to version 10
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'sys-apps/fwupdate')
-rw-r--r--sys-apps/fwupdate/Manifest1
-rw-r--r--sys-apps/fwupdate/fwupdate-10.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/fwupdate/Manifest b/sys-apps/fwupdate/Manifest
index b5ecccddc35a..85398fc41024 100644
--- a/sys-apps/fwupdate/Manifest
+++ b/sys-apps/fwupdate/Manifest
@@ -1,2 +1,3 @@
+DIST fwupdate-10.tar.gz 55899 BLAKE2B 34e74386de5151a977d0e136ac4d022a42d339775c77525fa26a2669ad7b10da2c0882435ac6093cd69d56473b83234c9d808f12565ab029a4f14c006ce6a1d8 SHA512 7c01a41a8c2876a954a1047790b45999c07416eeafffdf5a0802c53a877ca300811bc2282cb9398e46df53f761404a8fe4ef8caa1995f326122dbae2af1018da
DIST fwupdate-8.tar.gz 41062 BLAKE2B 904cd34cf490fc48d0bd89667b37ec23ab41432e1b6a5155cd3887697e910b5758404c47c85acb8c8acd5d41acc7ef68a08b49f0c8e39c6007b20690a763bbb4 SHA512 3b9b2693d7d792f0a6c7107325612cba35c891259d870152ca9ebcbd397edc307601e414f6f0fefbcb1aff422badac651ce00867c4dba38dac347ff75e1267b7
DIST fwupdate-9.tar.gz 41698 BLAKE2B 72026feab48f39e25548dc2475c10f11ea74d88228dffbb99f58f00bcc8052a90522ebb572558bffc538524a0791a78e9f7aa8fefa76f3a05ee6a09ad93e1878 SHA512 bcb7783944aa007450a28f71cb4e3c8b06220b3ad04dd90a9505273224ba192369fb63ac0d72bd1efc06c78a5f6f38f2eea2c4affe915eff5f2b7c04db0847c8
diff --git a/sys-apps/fwupdate/fwupdate-10.ebuild b/sys-apps/fwupdate/fwupdate-10.ebuild
new file mode 100644
index 000000000000..ac5e222c9472
--- /dev/null
+++ b/sys-apps/fwupdate/fwupdate-10.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mount-boot toolchain-funcs
+
+DESCRIPTION="Tools for using the ESRT and UpdateCapsule() to apply firmware updates"
+HOMEPAGE="https://github.com/rhinstaller/fwupdate"
+SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/popt
+ >=sys-libs/efivar-32-r1
+ >=sys-libs/libsmbios-2.3.2
+"
+DEPEND="
+ ${RDEPEND}
+ sys-boot/gnu-efi
+"
+
+do_make() {
+ emake \
+ CC="$(tc-getCC)" \
+ EFIDIR="gentoo" \
+ GNUEFIDIR="/usr/$(get_libdir)" \
+ "${@}"
+}
+
+src_prepare() {
+ default
+
+ # Remove -Werror
+ sed 's@ -Werror\([[:space:]]\|\n\)@\1@' -i linux/Makefile || die
+}
+
+src_compile() {
+ do_make
+}
+
+src_install() {
+ do_make DESTDIR="${D}" install
+}