summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-29 20:21:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-29 23:32:02 +0100
commitedeafcdb8a9e36e5bd8b0f70656749e828b9b438 (patch)
tree900c523c5a38f208cbce7301ec9a51631cfdd5c0 /app-admin/xtail
parentapp-admin/diradm: Port to EAPI 6 (diff)
downloadgentoo-edeafcdb8a9e36e5bd8b0f70656749e828b9b438.tar.gz
gentoo-edeafcdb8a9e36e5bd8b0f70656749e828b9b438.tar.bz2
gentoo-edeafcdb8a9e36e5bd8b0f70656749e828b9b438.zip
app-admin/xtail: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-admin/xtail')
-rw-r--r--app-admin/xtail/xtail-2.1-r1.ebuild26
1 files changed, 14 insertions, 12 deletions
diff --git a/app-admin/xtail/xtail-2.1-r1.ebuild b/app-admin/xtail/xtail-2.1-r1.ebuild
index 9506b3e7e06c..9f010062d31f 100644
--- a/app-admin/xtail/xtail-2.1-r1.ebuild
+++ b/app-admin/xtail/xtail-2.1-r1.ebuild
@@ -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() {