1 |
commit: edeafcdb8a9e36e5bd8b0f70656749e828b9b438 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 19:21:27 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 22:32:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edeafcdb |
7 |
|
8 |
app-admin/xtail: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-admin/xtail/xtail-2.1-r1.ebuild | 26 ++++++++++++++------------ |
13 |
1 file changed, 14 insertions(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/xtail/xtail-2.1-r1.ebuild b/app-admin/xtail/xtail-2.1-r1.ebuild |
16 |
index 9506b3e7e06..9f010062d31 100644 |
17 |
--- a/app-admin/xtail/xtail-2.1-r1.ebuild |
18 |
+++ b/app-admin/xtail/xtail-2.1-r1.ebuild |
19 |
@@ -1,30 +1,32 @@ |
20 |
-# Copyright 1999-2012 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=4 |
25 |
+EAPI=6 |
26 |
|
27 |
-inherit eutils toolchain-funcs |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="Tail multiple logfiles at once, even if rotated" |
31 |
HOMEPAGE="http://www.unicom.com/sw/xtail/" |
32 |
-SRC_URI="http://www.unicom.com/sw/xtail/${P}.tar.gz |
33 |
+SRC_URI=" |
34 |
+ http://www.unicom.com/sw/xtail/${P}.tar.gz |
35 |
http://www.unicom.com/files/20120219-patch-aalto.zip" |
36 |
|
37 |
LICENSE="BSD" |
38 |
SLOT="0" |
39 |
-KEYWORDS="amd64 ppc ~sparc x86" |
40 |
+KEYWORDS="amd64 ppc sparc x86" |
41 |
IUSE="" |
42 |
+ |
43 |
DEPEND="app-arch/unzip" |
44 |
|
45 |
-src_prepare() { |
46 |
- epatch ../0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch |
47 |
- epatch ../0001-xtail.1-remove-SIGQUIT.patch |
48 |
- epatch ../xtail_2.1-5-debian-local-changes.patch |
49 |
-} |
50 |
+PATCHES=( |
51 |
+ "${WORKDIR}"/0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch |
52 |
+ "${WORKDIR}"/0001-xtail.1-remove-SIGQUIT.patch |
53 |
+ "${WORKDIR}"/xtail_2.1-5-debian-local-changes.patch |
54 |
+) |
55 |
|
56 |
-src_compile() { |
57 |
+src_configure() { |
58 |
tc-export CC |
59 |
- emake |
60 |
+ default |
61 |
} |
62 |
|
63 |
src_install() { |