openjdk: fix do_install for out of source builds

use ${B} to specify the build directory, thus keep working for
daisy and older versions as well as for dizzy and newer.
openjdk-7: inherit pkgconfig

Building OpenJDK-7 in Yocto 1.7 (Dizzy) quits with errors as follows. Inheriting pkgconfig fixes this problem.
.../configure: line 8645: syntax error near unexpected token `NSS,'
.../configure: line 8645: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)'
openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.

Signed-off-by: Ronaldo Nunez <ronaldo.nunez@fotosensores.com>
jikes: Update update-alternatives macros.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
jamvm: Update update-alternatives macros.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
fastjar: Update update-alternatives macros.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
cacao: Update update-alternatives macros.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>