blob: e3e781a849b09e68bdc70883fb132a5009c8c5d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
DEPENDS=virtual/libc virtual/libgcrypt
SRC_URI = http://www.unix-ag.uni-kl.de/~massar/vpnc/${PN}-${PV}.tar.gz \
file://${FILESDIR}/attribute.patch;patch=1
do_compile () {
oe_runmake \
"CFLAGS=${CFLAGS} '-DVERSION=\"\$(shell cat ${S}/VERSION)\"' \$(shell libgcrypt-config --cflags)" \
"LDFLAGS=${LDFLAGS} \$(shell libgcrypt-config --libs)"
}
do_install () {
install -d ${D}/${sbindir}
install -m 0755 vpnc ${D}/${sbindir}
}
|