Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mepl/, app-misc/mepl/files/
Date: Thu, 02 Feb 2017 23:25:21
Message-Id: 1486077909.4505a2104367d0bd605874e0883c2dfb1e5a99b5.monsieurp@gentoo
1 commit: 4505a2104367d0bd605874e0883c2dfb1e5a99b5
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 2 22:58:42 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 2 23:25:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4505a210
7
8 app-misc/mepl: EAPI 6 bump.
9
10 Package-Manager: portage-2.3.3
11
12 app-misc/mepl/files/gcc433.patch | 4 ++--
13 app-misc/mepl/mepl-0.45-r1.ebuild | 30 ++++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+), 2 deletions(-)
15
16 diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch
17 index 821f133..0fd857a 100644
18 --- a/app-misc/mepl/files/gcc433.patch
19 +++ b/app-misc/mepl/files/gcc433.patch
20 @@ -1,5 +1,5 @@
21 ---- mepl.c 2009-04-07 21:17:32.000000000 +0200
22 -+++ mepl.c.new 2009-04-07 21:16:48.000000000 +0200
23 +--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200
24 ++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200
25 @@ -1,3 +1,4 @@
26 +#include <stdlib.h>
27 #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"
28
29 diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild b/app-misc/mepl/mepl-0.45-r1.ebuild
30 new file mode 100644
31 index 00000000..aa2c0ed
32 --- /dev/null
33 +++ b/app-misc/mepl/mepl-0.45-r1.ebuild
34 @@ -0,0 +1,30 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +
41 +inherit toolchain-funcs
42 +
43 +DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
44 +HOMEPAGE="http://www.hof-berlin.de/mepl/"
45 +SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~ppc ~x86"
50 +
51 +S="${WORKDIR}/${PN}${PV}"
52 +
53 +PATCHES=( "${FILESDIR}/gcc433.patch" )
54 +
55 +src_compile() {
56 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en
57 +}
58 +
59 +src_install() {
60 + dobin "${PN}" "${PN}mail"
61 + insinto /etc
62 + doins "${PN}.conf"
63 + newman "${PN}.en" "${PN}.7"
64 +}