From 0609a25a5dbb57d1e7cb63509e25e74ce7dae35a Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Thu, 17 Sep 2009 22:00:55 +0100 Subject: [PATCH] tinc: Added git repository backport from -dev functional --- recipes/tinc/tinc_git.bb | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes/tinc/tinc_git.bb diff --git a/recipes/tinc/tinc_git.bb b/recipes/tinc/tinc_git.bb new file mode 100644 index 0000000000..da8e7aab5c --- /dev/null +++ b/recipes/tinc/tinc_git.bb @@ -0,0 +1,37 @@ +SECTION = "console/network" +DESCRIPTION ="tinc is a Virtual Private Network (VPN) daemon" +HOMEPAGE = "http://www.tinc-vpn.org/" +LICENSE = "GPLv2" + +PR = "r0" +PV = "1.0.9+git" +SRCREV = "de029ce46056e02908b5390da9b71a6a59133f26" + +SRC_URI="git://www.tinc-vpn.org/git/tinc/;protocol=http;branch=master \ + file://init" +S = "${WORKDIR}/git" + +DEPENDS = "openssl lzo zlib" +RRECOMMENDS = "kernel-module-tun" + +inherit autotools + +EXTRA_OECONF = "--disable-maintainer-mode --disable-tracing" + +do_configure_prepend () { + autoreconf -f -i -s +} + +do_configure() { + oe_runconf +} + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install DESTDIR=${D} + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/tinc +} -- 2.11.4.GIT