commit:     4505a2104367d0bd605874e0883c2dfb1e5a99b5
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 22:58:42 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 23:25:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4505a210

app-misc/mepl: EAPI 6 bump.

Package-Manager: portage-2.3.3

 app-misc/mepl/files/gcc433.patch  |  4 ++--
 app-misc/mepl/mepl-0.45-r1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch
index 821f133..0fd857a 100644
--- a/app-misc/mepl/files/gcc433.patch
+++ b/app-misc/mepl/files/gcc433.patch
@@ -1,5 +1,5 @@
---- mepl.c     2009-04-07 21:17:32.000000000 +0200
-+++ mepl.c.new 2009-04-07 21:16:48.000000000 +0200
+--- a/mepl.c   2009-04-07 21:17:32.000000000 +0200
++++ b/mepl.c   2009-04-07 21:16:48.000000000 +0200
 @@ -1,3 +1,4 @@
 +#include <stdlib.h>
  #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"

diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild 
b/app-misc/mepl/mepl-0.45-r1.ebuild
new file mode 100644
index 00000000..aa2c0ed
--- /dev/null
+++ b/app-misc/mepl/mepl-0.45-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
+HOMEPAGE="http://www.hof-berlin.de/mepl/";
+SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S="${WORKDIR}/${PN}${PV}"
+
+PATCHES=( "${FILESDIR}/gcc433.patch" )
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} 
-DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en
+}
+
+src_install() {
+       dobin "${PN}" "${PN}mail"
+       insinto /etc
+       doins "${PN}.conf"
+       newman "${PN}.en" "${PN}.7"
+}

Reply via email to