Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / tinc / tinc_1.0.2.oe
1 SECTION = "console/network"
2 DESCRIPTION="tinc is a Virtual Private Network (VPN) daemon"
3 HOMEPAGE = "http://www.tinc-vpn.org/"
4 LICENSE = "GPLv2"
5 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
6
7 SRC_URI="http://www.tinc-vpn.org/packages/tinc-1.0.2.tar.gz \
8         file://mtu-vlan.diff;patch=1 \
9         file://public-key-fix.diff;patch=1 \
10         file://init"
11
12 DEPENDS="openssl lzo zlib"
13 RDEPENDS = "kernel-module-tun"
14
15 inherit autotools
16
17 EXTRA_OECONF="--disable-maintainer-mode --disable-tracing"
18
19 do_configure() {
20         oe_runconf
21 }
22
23 do_compile() {
24         oe_runmake
25 }
26
27 do_install() {
28         oe_runmake install DESTDIR=${D}
29         install -d ${D}/${sysconfdir}/init.d
30         install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/tinc
31 }