aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/tunctl/tunctl.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-11-27 11:25:47 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2012-11-27 14:43:58 -0500
commit4a851a8f25bb9d8d4f7eb40e4bd0e70f74e3ce12 (patch)
treef284dc531dcc171ece7b8698c307acaa2a53a70d /meta-networking/recipes-support/tunctl/tunctl.inc
parent2abab0e93dc5099df8a9b7466de803a2d8372eb9 (diff)
downloadmeta-openembedded-contrib-4a851a8f25bb9d8d4f7eb40e4bd0e70f74e3ce12.tar.gz
tunctl: add from OE-Classic and tweak
* Set SUMMARY (which sets DESCRIPTION) * Make LICENSE more accurate * Add LIC_FILES_CHKSUM Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-networking/recipes-support/tunctl/tunctl.inc')
-rw-r--r--meta-networking/recipes-support/tunctl/tunctl.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tunctl/tunctl.inc b/meta-networking/recipes-support/tunctl/tunctl.inc
new file mode 100644
index 0000000000..952af245e2
--- /dev/null
+++ b/meta-networking/recipes-support/tunctl/tunctl.inc
@@ -0,0 +1,15 @@
+SUMMARY = "Tool for controlling the Linux TUN/TAP driver"
+SECTION = "net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://tunctl.c;startline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
+
+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}
+}