Set PACKAGEFUNCS only once. Now if more than one bbclass inherits
package both additional functions will be executed. The new packagefuncs
will be appended to the list and the old ones will not be lost
bb.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d)
}
-PACKAGEFUNCS = "do_install package_do_split_locales \
+PACKAGEFUNCS ?= " do_install package_do_split_locales \
populate_packages package_do_shlibs \
package_do_pkgconfig read_shlibdeps"
python package_do_package () {