xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Tool for controlling the Linux TUN/TAP driver"
2SECTION = "net"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://tunctl.c;beginline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \
7           file://makefile-add-ldflags.patch \
8          "
9
10do_compile() {
11    oe_runmake tunctl
12}
13
14do_install() {
15    install -d ${D}/${sbindir}
16    install -m 755 tunctl ${D}/${sbindir}
17}
18