meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc
Yi Zhao 945ef788cf
tunctl: inherit sourceforge-releases class
Inherit sourceforge-releases class to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version tunctl
INFO: Current version: 1.5
INFO: Latest version:

After the patch:
$ devtool latest-version tunctl
INFO: Current version: 1.5
INFO: Latest version: 1.5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-09 06:52:52 -08:00

20 lines
478 B
PHP

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 \
"
inherit sourceforge-releases
do_compile() {
oe_runmake tunctl
}
do_install() {
install -d ${D}/${sbindir}
install -m 755 tunctl ${D}/${sbindir}
}