diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-27 11:25:47 +0000 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2012-11-27 14:43:58 -0500 |
commit | 4a851a8f25bb9d8d4f7eb40e4bd0e70f74e3ce12 (patch) | |
tree | f284dc531dcc171ece7b8698c307acaa2a53a70d /meta-networking | |
parent | 2abab0e93dc5099df8a9b7466de803a2d8372eb9 (diff) | |
download | meta-openembedded-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')
-rw-r--r-- | meta-networking/recipes-support/tunctl/tunctl.inc | 15 | ||||
-rw-r--r-- | meta-networking/recipes-support/tunctl/tunctl_1.5.bb | 4 |
2 files changed, 19 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 000000000..952af245e --- /dev/null +++ b/meta-networking/recipes-support/tunctl/tunctl.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Tool for controlling the Linux TUN/TAP driver" | ||
2 | SECTION = "net" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://tunctl.c;startline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz" | ||
7 | |||
8 | do_compile() { | ||
9 | oe_runmake tunctl | ||
10 | } | ||
11 | |||
12 | do_install() { | ||
13 | install -d ${D}/${sbindir} | ||
14 | install -m 755 tunctl ${D}/${sbindir} | ||
15 | } | ||
diff --git a/meta-networking/recipes-support/tunctl/tunctl_1.5.bb b/meta-networking/recipes-support/tunctl/tunctl_1.5.bb new file mode 100644 index 000000000..dd265612f --- /dev/null +++ b/meta-networking/recipes-support/tunctl/tunctl_1.5.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require tunctl.inc | ||
2 | |||
3 | SRC_URI[md5sum] = "fdbedc263b3e85bb0e087cd567414607" | ||
4 | SRC_URI[sha256sum] = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff" | ||