rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | SUMMARY = "Tool for controlling the Linux TUN/TAP driver" |
2 | SECTION = "net" | ||||
3 | LICENSE = "GPLv2" | ||||
4 | LIC_FILES_CHKSUM = "file://tunctl.c;beginline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999" | ||||
5 | |||||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \ | ||||
7 | file://makefile-add-ldflags.patch \ | ||||
8 | " | ||||
9 | |||||
10 | do_compile() { | ||||
11 | oe_runmake tunctl | ||||
12 | } | ||||
13 | |||||
14 | do_install() { | ||||
15 | install -d ${D}/${sbindir} | ||||
16 | install -m 755 tunctl ${D}/${sbindir} | ||||
17 | } |