summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-10-05 08:38:46 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-10-05 08:46:48 +0300
commit085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9 (patch)
tree6ec9d6bb74186b735166c47ca1b4a10c9c86154e /dev-libs/libbase58
parentnet-libs/libblkmaker: Bump to 0.6.0 (diff)
downloadgentoo-085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9.tar.gz
gentoo-085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9.tar.bz2
gentoo-085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9.zip
dev-libs/libbase58: conditionalize 'rm' in 0.1.4
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/libbase58')
-rw-r--r--dev-libs/libbase58/libbase58-0.1.4-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
index 6d58a9ccec72..3cdcfde18b54 100644
--- a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
+++ b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools multilib-minimal
DESCRIPTION="C implementation of Bitcoin's base58 encoding"
@@ -24,7 +25,8 @@ src_prepare() {
eapply_user
eautoreconf
- # NOTE: Needed because test suite uses srcdir instead of builddir to set PATH
+ # NOTE: Needed because test suite uses srcdir instead of builddir to set PATH and for
+ # multilib support.
multilib_copy_sources
}
@@ -44,5 +46,7 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- rm -rf "${ED}/TRASH" || die
+ if use test; then
+ rm -r "${ED}/TRASH" || die
+ fi
}