2 DESCRIPTION = "netkit-telnet includes the telnet daemon and client."
7 SRC_URI = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-${PV}.tar.gz \
8 file://netkit-telnet-debian_0.17-36.diff;patch=1 \
9 file://cross-compile.patch;patch=1 "
12 ./configure --prefix=${prefix}
14 # Inject our ldflags into the config... it is not horning them otherwise
15 echo "LDFLAGS=${LDFLAGS}" > MCONFIG
20 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' SUB=telnet
24 install -d ${D}${bindir}
25 install -m 0755 telnet/telnet ${D}${bindir}/telnet.${PN}
28 pkg_postinst_${PN} () {
30 update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
35 update-alternatives --remove telnet telnet.${PN} 100