From 5ed3b6bdc24f9a937199af4ad518ad4f038178d6 Mon Sep 17 00:00:00 2001 From: David Nyström Date: Thu, 6 Dec 2012 10:58:48 +0100 Subject: Added openbsd-netcat recipe, libvirt dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Nyström Reviewed-by: Bruce Ashfield --- recipes-networking/netcat/openbsd-netcat_1.6.bb | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-networking/netcat/openbsd-netcat_1.6.bb diff --git a/recipes-networking/netcat/openbsd-netcat_1.6.bb b/recipes-networking/netcat/openbsd-netcat_1.6.bb new file mode 100644 index 00000000..1ae3f371 --- /dev/null +++ b/recipes-networking/netcat/openbsd-netcat_1.6.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "OpenBSD Netcat" +HOMEPAGE = "http://code.google.com/p/openbsd-netcat/" +SECTION = "console/network" +LICENSE = "BSD-3-Clause" +PR = "r0" + +SRCREV = "5" + +SRC_URI = "svn://openbsd-netcat.googlecode.com/svn;module=trunk;protocol=http" +S = "${WORKDIR}/trunk" + +inherit update-alternatives gettext + +do_configure[noexec] = "1" + +do_compile() { + cd ${S} + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN} +} + +ALTERNATIVE_${PN} = "nc" +ALTERNATIVE_PRIORITY = "101" + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3-54-g00ecf