mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
20 lines
478 B
PHP
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}
|
|
}
|