summaryrefslogtreecommitdiff
path: root/recipes/tunctl/tunctl.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tunctl/tunctl.inc')
-rw-r--r--recipes/tunctl/tunctl.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/tunctl/tunctl.inc b/recipes/tunctl/tunctl.inc
new file mode 100644
index 0000000000..c9c7e95664
--- /dev/null
+++ b/recipes/tunctl/tunctl.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "The tunctl tool for controlling the TUN/TAP driver in Linux."
+SECTION = "net"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz"
+
+do_compile() {
+ oe_runmake tunctl
+}
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -m 755 tunctl ${D}/${sbindir}
+}