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.
35 lines
692 B
35 lines
692 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="A small Telnet daemon, derived from the Axis tools"
|
|
HOMEPAGE="http://www.pengutronix.de/software/utelnetd/index_en.html"
|
|
SRC_URI="http://www.pengutronix.de/software/utelnetd/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="sys-apps/shadow"
|
|
|
|
src_prepare() {
|
|
sed -i \
|
|
-e "/(STRIP)/d" \
|
|
-e "/^CC/s:=.*:= $(tc-getCC):" \
|
|
-e "/fomit-frame-pointer/d" \
|
|
Makefile || die
|
|
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
dosbin utelnetd
|
|
dodoc ChangeLog README
|
|
|
|
newinitd "${FILESDIR}"/utelnetd.initd utelnetd
|
|
}
|