summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2020-09-27 21:18:40 +0200
committerSven Wegener <swegener@gentoo.org>2020-09-27 21:31:54 +0200
commit5c9ca60ff0ed9993d497199e51be7074f99cbacd (patch)
treeb5ef2e30d7588662997a96003df349a5a9f9ec46 /dev-embedded/libjaylink
parentdev-embedded/libjaylink: Switch live ebuild to EAPI 7 (diff)
downloadgentoo-5c9ca60ff0ed9993d497199e51be7074f99cbacd.tar.gz
gentoo-5c9ca60ff0ed9993d497199e51be7074f99cbacd.tar.bz2
gentoo-5c9ca60ff0ed9993d497199e51be7074f99cbacd.zip
dev-embedded/libjaylink: Add multilib support to live ebuild
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'dev-embedded/libjaylink')
-rw-r--r--dev-embedded/libjaylink/libjaylink-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-embedded/libjaylink/libjaylink-9999.ebuild b/dev-embedded/libjaylink/libjaylink-9999.ebuild
index 9190af8cdbc..591ce6e4d7b 100644
--- a/dev-embedded/libjaylink/libjaylink-9999.ebuild
+++ b/dev-embedded/libjaylink/libjaylink-9999.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
EGIT_REPO_URI="https://gitlab.zapb.de/libjaylink/libjaylink.git"
-inherit git-r3 autotools
+inherit git-r3 autotools multilib-minimal
DESCRIPTION="Library to access J-Link devices"
HOMEPAGE="https://gitlab.zapb.de/libjaylink/libjaylink"
@@ -15,19 +15,19 @@ SLOT="0"
KEYWORDS=""
IUSE="static-libs"
-DEPEND="virtual/libusb:1"
+DEPEND="virtual/libusb:1[${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"
src_prepare() {
eapply_user
eautoreconf
+ multilib_copy_sources
}
-src_configure() {
+multilib_src_configure() {
econf $(use_enable static-libs static)
}
-src_install() {
- default
+multilib_src_install_all() {
use static-libs || find "${D}" -name '*.la' -delete || die
}