blob: 07e6dc217dda6811d0ed56f2f626dd99eb49bd5c [file] [log] [blame]
SUMMARY = "Tool for controlling the Linux TUN/TAP driver"
SECTION = "net"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://tunctl.c;beginline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \
file://makefile-add-ldflags.patch \
"
do_compile() {
oe_runmake tunctl
}
do_install() {
install -d ${D}/${sbindir}
install -m 755 tunctl ${D}/${sbindir}
}