logo

overlay

My (experimental) gentoo overlay
commit: ed1a7199ededb0b08a7e948ca02ece53334eef84
parent: a0fa097f9eb41e00d2d2d879d3407e9a913118c8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 25 Jul 2019 16:06:43 +0200

mix.eclass: Do not install only ebin

Diffstat:

Meclass/mix.eclass9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/eclass/mix.eclass b/eclass/mix.eclass @@ -82,11 +82,10 @@ mix_src_compile() { mix_src_install() { debug-print-function ${FUNCNAME} "${@}" - local dest="/usr/$(get_libdir)/elixir/lib/${P}" - - insinto "${dest}" + insinto "/usr/$(get_libdir)/erlang/lib/${P}" pushd "_build/${MIX_BUILD_NAME}/lib/${PN}" >/dev/null - doins -r ebin + for reldir in src ebin priv include; do + [ -d "$reldir" ] && doins -r $reldir + done popd >/dev/null - [[ -d priv ]] && doins -r priv }