mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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:
parent
9f60c7d889
commit
5ed3b6bdc2
29
recipes-networking/netcat/openbsd-netcat_1.6.bb
Normal file
29
recipes-networking/netcat/openbsd-netcat_1.6.bb
Normal 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"
|
Loading…
Reference in New Issue
Block a user