From 94c0dd1173d7f0ee764c2f3f30658aae7fd012a5 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 21 Jan 2020 22:50:52 +0100 Subject: app-text/o3read: Port to EAPI 7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert --- app-text/o3read/o3read-0.0.4.ebuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'app-text/o3read/o3read-0.0.4.ebuild') diff --git a/app-text/o3read/o3read-0.0.4.ebuild b/app-text/o3read/o3read-0.0.4.ebuild index 9b39421c0634..4cf54987a0c9 100644 --- a/app-text/o3read/o3read-0.0.4.ebuild +++ b/app-text/o3read/o3read-0.0.4.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 inherit toolchain-funcs @@ -12,20 +12,16 @@ SRC_URI="http://siag.nu/pub/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" +RESTRICT="test" -RESTRICT=test +PATCHES=( "${FILESDIR}"/${P}-fix-buildsystem.patch ) -src_prepare() { - sed \ - -e 's:-o:$(LDFLAGS) -o:g' \ - -e '/^CC/d' \ - -e '/^CFLAGS/g' \ - -i Makefile || die +src_configure() { tc-export CC } src_install() { dobin o3read o3totxt o3tohtml utf8tolatin1 - doman o3read.1 o3tohtml.1 o3totxt.1 utf8tolatin1.1 + einstalldocs + doman *.1 } -- cgit v1.2.3-65-gdbad