1 |
commit: 995223f937ca2dbfb7b15e09fdae4adbbf93f536 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 2 21:40:03 2019 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 2 21:40:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995223f9 |
7 |
|
8 |
net-mail/qlogtools: Update to EAPI7 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
12 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=697246 |
13 |
|
14 |
net-mail/qlogtools/qlogtools-3.1-r1.ebuild | 39 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/net-mail/qlogtools/qlogtools-3.1-r1.ebuild b/net-mail/qlogtools/qlogtools-3.1-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..df13e770840 |
20 |
--- /dev/null |
21 |
+++ b/net-mail/qlogtools/qlogtools-3.1-r1.ebuild |
22 |
@@ -0,0 +1,39 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit eutils toolchain-funcs |
29 |
+ |
30 |
+DESCRIPTION="Qmail Log processing tools" |
31 |
+HOMEPAGE="http://untroubled.org/qlogtools/" |
32 |
+SRC_URI="http://untroubled.org/qlogtools/archive/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND="" |
40 |
+RDEPEND="!app-text/multitail" |
41 |
+ |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/qlogtools-3.1-errno.patch |
44 |
+) |
45 |
+ |
46 |
+src_configure() { |
47 |
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc |
48 |
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld |
49 |
+ echo "${D}/usr/bin" > conf-bin |
50 |
+ echo "${D}/usr/share/man/" > conf-man |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ dodir /usr/bin /usr/share/man/ |
55 |
+ ./installer || die "Installer failed" |
56 |
+ dodoc ANNOUNCEMENT FILES NEWS README TARGETS VERSION |
57 |
+} |
58 |
+ |
59 |
+pkg_postinst() { |
60 |
+ elog "Please see /usr/share/doc/${PF}/README for configuration information" |
61 |
+} |