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} }