commit:     18d9fa8c07598fb1fc791fa4ca1f0e9361aa31b2
Author:     Peter Gantner <gentoo <AT> nephros <DOT> org>
AuthorDate: Wed Dec  4 06:19:34 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 06:22:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d9fa8c

dev-util/hxtools: bump to 20190428, EAPI 7 and fixes

Signed-off-by: Peter Gantner <gentoo <AT> nephros.org>
Closes: https://bugs.gentoo.org/699822
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-util/hxtools/Manifest                |  1 +
 dev-util/hxtools/hxtools-20190428.ebuild | 39 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-util/hxtools/Manifest b/dev-util/hxtools/Manifest
index 949ede019aa..db172686c64 100644
--- a/dev-util/hxtools/Manifest
+++ b/dev-util/hxtools/Manifest
@@ -1 +1,2 @@
 DIST hxtools-20180301.tar.xz 301516 BLAKE2B 
6b768e316de6d9b724cdca5beef1ec14e3482aaf1aa34abc138861782266eac32565cdf7713cc65d3863fb1b3463a21446165ecc7df4f39c4fed168d8efdd3df
 SHA512 
10b6a59367a9d5127116a81ae46c4c0f10dd4cecd60ff78b2dfeb2a304c7a34112df2355b9f939558c8e27d0e255e2df6277da9cc558d4368bcbe4d7130d5326
+DIST hxtools-20190428.tar.xz 219012 BLAKE2B 
a1c2cc48eadb6d2c9016803469a87a18e447705f463f3a059dd9e501a228eaa20355ce1ce36d2c9988c1fb1ff64727ce6e4c0e098b24a88ca591649df36375bf
 SHA512 
268da9c5c09830affe35052769ed2bee2fc4e8f7de3b9ad5eda7a8865ccac88bc1392a6c83b7d4c5faab2b07d7c77c6e77808a8c184bd3e530288c577b5de567

diff --git a/dev-util/hxtools/hxtools-20190428.ebuild 
b/dev-util/hxtools/hxtools-20190428.ebuild
new file mode 100644
index 00000000000..0d8b5bfff86
--- /dev/null
+++ b/dev-util/hxtools/hxtools-20190428.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A collection of tools and scripts"
+HOMEPAGE="http://inai.de/projects/hxtools/";
+SRC_URI="http://jftp.inai.de/${PN}/${P}.tar.xz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+       >=sys-apps/pciutils-3
+       >=sys-apps/util-linux-2.19
+       >=sys-libs/libhx-3.12.1
+       dev-lang/perl
+       sys-libs/libcap
+       x11-libs/libxcb:0=
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       default
+
+       # man2html is provided by man
+       rm -r "${ED}"/usr/bin/man2html || die 
+       rm -r "${ED}"/usr/share/man/man1/man2html* || die
+
+       # Don't collide with dev-util/cwdiff
+       mv "${ED}"/usr/bin/cwdiff "${ED}"/usr/bin/cwdiff.hx || die
+       mv "${ED}"/usr/share/man/man1/cwdiff.1 
"${ED}"/usr/share/man/man1/cwdiff.hx.1 || die
+
+       # Gentoo doesn't have /usr/share/kbd:
+       mv "${ED}"/usr/share/kbd/* "${ED}"/usr/share/ || die
+       gzip "${ED}"/usr/share/consolefonts/*fnt || die
+}

Reply via email to