blob: 1ae3f371e44e56aefa3b1d0a3e3962df7fa7dacf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
|