You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/mepl/mepl-0.45.ebuild

36 lines
751 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils toolchain-funcs
DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
HOMEPAGE="https://web.archive.org/web/20031204100644/http://www.hof-berlin.de:80/mepl/"
SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
DEPEND=""
S=${WORKDIR}/${PN}${PV}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/gcc433.patch"
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\"\
${LDFLAGS}" en || die
}
src_install() {
dobin mepl meplmail || die
insinto /etc
doins mepl.conf
newman mepl.en mepl.7
}