Skip to content

Commit

Permalink
app-misc/mepl: EAPI 6 bump.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.3
  • Loading branch information
monsieurp committed Feb 2, 2017
1 parent dd79518 commit 4505a21
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-misc/mepl/files/gcc433.patch
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
30 changes: 30 additions & 0 deletions app-misc/mepl/mepl-0.45-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 4505a21

Please sign in to comment.