blob: 0a4e727ff927021d86c69c50d547000c7f5aa728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/mepl-0.45.ebuild,v 1.9 2009/01/11 16:58:35 phosphan Exp $
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="~ppc x86"
IUSE=""
DEPEND="virtual/libc"
S=${WORKDIR}/${PN}${PV}
src_unpack() {
unpack ${A}
cd "${S}"
echo "#include <stdlib.h>" > tmpmepl.c
cat mepl.c >> tmpmepl.c
mv tmpmepl.c mepl.c
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\"" en || die
}
src_install() {
dobin mepl meplmail || die
insinto /etc
doins mepl.conf
newman mepl.en mepl.7
}
|