add PKG_BUILD_DEPENDS and PKG_CONFIG_DEPENDS and also make the sub packages select the main package. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>