summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Nyström <david.nystrom@enea.com>2012-12-06 10:58:48 +0100
committerDavid Nyström <david.nystrom@enea.com>2012-12-07 15:32:31 +0100
commit5ed3b6bdc24f9a937199af4ad518ad4f038178d6 (patch)
tree289dbc755e37bd19587373c066bb2031ae922835
parent9f60c7d88958a85ceeacaa4383daba92a9ea7848 (diff)
downloadmeta-virtualization-5ed3b6bdc24f9a937199af4ad518ad4f038178d6.tar.gz
Added openbsd-netcat recipe, libvirt dependency
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-networking/netcat/openbsd-netcat_1.6.bb29
1 files changed, 29 insertions, 0 deletions
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 @@
1DESCRIPTION = "OpenBSD Netcat"
2HOMEPAGE = "http://code.google.com/p/openbsd-netcat/"
3SECTION = "console/network"
4LICENSE = "BSD-3-Clause"
5PR = "r0"
6
7SRCREV = "5"
8
9SRC_URI = "svn://openbsd-netcat.googlecode.com/svn;module=trunk;protocol=http"
10S = "${WORKDIR}/trunk"
11
12inherit update-alternatives gettext
13
14do_configure[noexec] = "1"
15
16do_compile() {
17 cd ${S}
18 oe_runmake
19}
20
21do_install() {
22 install -d ${D}${bindir}
23 install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
24}
25
26ALTERNATIVE_${PN} = "nc"
27ALTERNATIVE_PRIORITY = "101"
28
29BBCLASSEXTEND = "nativesdk"