From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/netkit-telnet/netkit-telnet_0.17.bb | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes/netkit-telnet/netkit-telnet_0.17.bb (limited to 'recipes/netkit-telnet/netkit-telnet_0.17.bb') diff --git a/recipes/netkit-telnet/netkit-telnet_0.17.bb b/recipes/netkit-telnet/netkit-telnet_0.17.bb new file mode 100644 index 0000000000..f15a88593f --- /dev/null +++ b/recipes/netkit-telnet/netkit-telnet_0.17.bb @@ -0,0 +1,37 @@ +SECTION = "base" +DESCRIPTION = "netkit-telnet includes the telnet daemon and client." +DEPENDS = "ncurses" +LICENSE = "BSD" +PR = "r1" + +SRC_URI = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-${PV}.tar.gz \ + file://netkit-telnet-debian_0.17-36.diff;patch=1 \ + file://cross-compile.patch;patch=1 " + +do_configure () { + ./configure --prefix=${prefix} + + # Inject our ldflags into the config... it is not horning them otherwise + echo "LDFLAGS=${LDFLAGS}" > MCONFIG +} + + +do_compile () { + oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' SUB=telnet +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 telnet/telnet ${D}${bindir}/telnet.${PN} +} + +pkg_postinst_${PN} () { +#!/bin/sh + update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 +} + +pkg_prerm_${PN} () { + #!/bin/sh + update-alternatives --remove telnet telnet.${PN} 100 +} + -- cgit 1.2.3-korg