PATCHVER="1.1"
-inherit eutils
+inherit eutils multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
[[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
}
-src_configure() {
+multilib_src_configure() {
local myconf=(
$(use_with zlib)
--enable-obsolete
&& myconf+=( --without-included-gettext ) \
|| myconf+=( --disable-nls )
+ ECONF_SOURCE=${S} \
econf "${myconf[@]}"
}
-src_install() {
+multilib_src_install() {
default
- use static-libs || find "${ED}"/usr -name '*.la' -delete
# Provide libiberty.h directly.
dosym libiberty/libiberty.h /usr/include/libiberty.h
}
+
+multilib_src_install_all() {
+ use static-libs || find "${ED}"/usr -name '*.la' -delete
+}