app-admin/xtail: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 19:21:27 +0000 (20:21 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 22:32:02 +0000 (23:32 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-admin/xtail/xtail-2.1-r1.ebuild

index 9506b3e7e06c39775bb54624c1df103db2dfe9e0..9f010062d31fba7049727245d5bd7d62db59643a 100644 (file)
@@ -1,30 +1,32 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Tail multiple logfiles at once, even if rotated"
 HOMEPAGE="http://www.unicom.com/sw/xtail/"
-SRC_URI="http://www.unicom.com/sw/xtail/${P}.tar.gz
+SRC_URI="
+       http://www.unicom.com/sw/xtail/${P}.tar.gz
        http://www.unicom.com/files/20120219-patch-aalto.zip"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
+KEYWORDS="amd64 ppc sparc x86"
 IUSE=""
+
 DEPEND="app-arch/unzip"
 
-src_prepare() {
-       epatch ../0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch
-       epatch ../0001-xtail.1-remove-SIGQUIT.patch
-       epatch ../xtail_2.1-5-debian-local-changes.patch
-}
+PATCHES=(
+       "${WORKDIR}"/0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch
+       "${WORKDIR}"/0001-xtail.1-remove-SIGQUIT.patch
+       "${WORKDIR}"/xtail_2.1-5-debian-local-changes.patch
+)
 
-src_compile() {
+src_configure() {
        tc-export CC
-       emake
+       default
 }
 
 src_install() {