Apparenly multilib.eclass was used only for get_libdir function, and the
usage was wrong, because it was appended to the package-specific
"/opt/vc/" path which does not need to match system library directory
name.
More than that, the path "/opt/vc/lib" is actually hardcoded in env.d
file installed by this package, so even if get_libdir ever returned
something different than "lib", that would break dynamic linkage of the
installed executables.
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
EAPI=5
-inherit multilib
-
DESCRIPTION="Raspberry Pi userspace tools and libraries"
HOMEPAGE="https://github.com/raspberrypi/firmware"
MY_P="raspberrypi-firmware-${PV}"
into /opt
dobin bin/*
insopts -m 0755
- insinto "/opt/vc/$(get_libdir)"
+ insinto "/opt/vc/lib"
doins -r lib/*
doenvd "${FILESDIR}"/04${PN}