scripts/build: refactor PKG_BUILD detection

Signed-off-by: Stephan Raue <stephan@openelec.tv>
scripts/unpack: refactor PKG_BUILD detection

Signed-off-by: Stephan Raue <stephan@openelec.tv>
config/path: refactor PKG_BUILD detection

Signed-off-by: Stephan Raue <stephan@openelec.tv>
config/path: add support for <PKGNAME>:<TARGET> naming scheme for PKG_DIR variable

Signed-off-by: Stephan Raue <stephan@openelec.tv>
scripts: implement new packageformat (v3) support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
xf86-video-fglrx: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
xf86-video-fglrx-legacy: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
Python-host: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
automake: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
busybox: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
busybox-hosttools: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
wpa_supplicant: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
fribidi: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
busybox-initramfs: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
freetype: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
bigreqsproto: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
compositeproto: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
damageproto: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
dri2proto: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
fixesproto: convert ot new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>