From patchwork Tue Nov 20 15:30:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-networking,v2,2/8] tunctl: add from OE-Classic and tweak Date: Tue, 20 Nov 2012 15:30:46 -0000 From: Paul Eggleton X-Patchwork-Id: 39353 Message-Id: <3fea4230b559b75cc90a657309284d25469bf044.1353425302.git.paul.eggleton@linux.intel.com> To: openembedded-devel@lists.openembedded.org * Set SUMMARY (which sets DESCRIPTION) * Make LICENSE more accurate * Add LIC_FILES_CHKSUM Signed-off-by: Paul Eggleton --- meta-networking/recipes-support/tunctl/tunctl.inc | 15 +++++++++++++++ .../recipes-support/tunctl/tunctl_1.5.bb | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 meta-networking/recipes-support/tunctl/tunctl.inc create mode 100644 meta-networking/recipes-support/tunctl/tunctl_1.5.bb diff --git a/meta-networking/recipes-support/tunctl/tunctl.inc b/meta-networking/recipes-support/tunctl/tunctl.inc new file mode 100644 index 0000000..952af24 --- /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} +} 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 0000000..dd26561 --- /dev/null +++ b/meta-networking/recipes-support/tunctl/tunctl_1.5.bb @@ -0,0 +1,4 @@ +require tunctl.inc + +SRC_URI[md5sum] = "fdbedc263b3e85bb0e087cd567414607" +SRC_URI[sha256sum] = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff"