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>
This commit is contained in:
Paul Eggleton 2012-11-27 11:25:47 +00:00 committed by Joe MacDonald
parent 2abab0e93d
commit 4a851a8f25
2 changed files with 19 additions and 0 deletions

View File

@ -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}
}

View File

@ -0,0 +1,4 @@
require tunctl.inc
SRC_URI[md5sum] = "fdbedc263b3e85bb0e087cd567414607"
SRC_URI[sha256sum] = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff"