summaryrefslogtreecommitdiff
path: root/packages/vpnc/vpnc_0.3.3.bb
blob: 8aee0fa5c03bbc1ebf7c6176b09612478b45a123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "A client for the Cisco3000 VPN Concentrator"
SECTION = "console/network"
PRIORITY = "optional"
HOMEPAGE = "http://www.unix-ag.uni-kl.de/~massar/vpnc/"
LICENSE = "GPL"
DEPENDS = "libgcrypt"
RDEPENDS = "kernel-module-tun"
PR = "r1"

SRC_URI = "http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-${PV}.tar.gz \
           file://vpnc-script.patch;patch=1 \
           file://default.conf"

CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
LDFLAGS_append = " -lgcrypt -lgpg-error"

do_install () {
	oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
	rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless
	install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf
}

CONFFILES_${PN} = "${sysconfdir}/vpnc/default.conf"