merge of '178eac00dc5aa8338d42e8e203633bec7817bbf6'
[vuplus_openembedded] / packages / vpnc / vpnc.inc
1 DESCRIPTION = "A client for the Cisco3000 VPN Concentrator"
2 HOMEPAGE = "http://www.unix-ag.uni-kl.de/~massar/vpnc/"
3 AUTHOR = "Maurice Massar vpnc@unix-ag.uni-kl.de"
4 SECTION = "console/network"
5 PRIORITY = "optional"
6 LICENSE = "GPL"
7 DEPENDS = "libgcrypt"
8 RDEPENDS = "kernel-module-tun"
9
10 CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
11 LDFLAGS_append = " -lgcrypt -lgpg-error"
12
13 do_install () {
14         oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
15         rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless
16         install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf
17 }
18
19 CONFFILES_${PN} = "${sysconfdir}/vpnc/default.conf"