diff options
| -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" | ||
