diff options
| author | David Nyström <david.nystrom@enea.com> | 2012-12-06 10:58:48 +0100 |
|---|---|---|
| committer | David Nyström <david.nystrom@enea.com> | 2012-12-07 15:32:31 +0100 |
| commit | 5ed3b6bdc24f9a937199af4ad518ad4f038178d6 (patch) | |
| tree | 289dbc755e37bd19587373c066bb2031ae922835 | |
| parent | 9f60c7d88958a85ceeacaa4383daba92a9ea7848 (diff) | |
| download | meta-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.bb | 29 |
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 @@ | |||
| 1 | DESCRIPTION = "OpenBSD Netcat" | ||
| 2 | HOMEPAGE = "http://code.google.com/p/openbsd-netcat/" | ||
| 3 | SECTION = "console/network" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | PR = "r0" | ||
| 6 | |||
| 7 | SRCREV = "5" | ||
| 8 | |||
| 9 | SRC_URI = "svn://openbsd-netcat.googlecode.com/svn;module=trunk;protocol=http" | ||
| 10 | S = "${WORKDIR}/trunk" | ||
| 11 | |||
| 12 | inherit update-alternatives gettext | ||
| 13 | |||
| 14 | do_configure[noexec] = "1" | ||
| 15 | |||
| 16 | do_compile() { | ||
| 17 | cd ${S} | ||
| 18 | oe_runmake | ||
| 19 | } | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | install -d ${D}${bindir} | ||
| 23 | install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN} | ||
| 24 | } | ||
| 25 | |||
| 26 | ALTERNATIVE_${PN} = "nc" | ||
| 27 | ALTERNATIVE_PRIORITY = "101" | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "nativesdk" | ||
