diff options
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc')
-rw-r--r-- | meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc b/meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc new file mode 100644 index 000000000..1c11823dd --- /dev/null +++ b/meta-openembedded/meta-networking/recipes-support/tunctl/tunctl.inc @@ -0,0 +1,17 @@ +SUMMARY = "Tool for controlling the Linux TUN/TAP driver" +SECTION = "net" +LICENSE = "GPLv2" +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} +} |