Added openbsd-netcat recipe, libvirt dependency

Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
David Nyström 2012-12-06 10:58:48 +01:00
parent 9f60c7d889
commit 5ed3b6bdc2

View File

@ -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"