diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /sys-libs/slang/slang-2.3.2.ebuild | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'sys-libs/slang/slang-2.3.2.ebuild')
-rw-r--r-- | sys-libs/slang/slang-2.3.2.ebuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sys-libs/slang/slang-2.3.2.ebuild b/sys-libs/slang/slang-2.3.2.ebuild index 24a21e525967..31370451d21d 100644 --- a/sys-libs/slang/slang-2.3.2.ebuild +++ b/sys-libs/slang/slang-2.3.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit multilib-minimal @@ -62,20 +62,17 @@ multilib_src_configure() { } multilib_src_compile() { - emake elf $(use static-libs && echo static) - - pushd slsh >/dev/null || die - emake slsh - popd || die + emake elf $(usex static-libs static '') + emake -C slsh slsh } multilib_src_install() { - emake DESTDIR="${D}" install $(use static-libs && echo install-static) + emake DESTDIR="${D}" install $(usex static-libs install-static '') } multilib_src_install_all() { - rm -r "${ED%/}"/usr/share/doc/{slang,slsh} || die - dodoc NEWS README *.txt doc/{,internal,text}/*.txt - docinto html - dodoc doc/slangdoc.html slsh/doc/html/*.html + rm -r "${ED}"/usr/share/doc/{slang,slsh} || die + local -a DOCS=( NEWS README *.txt doc/{,internal,text}/*.txt ) + local -a HTML_DOCS=( doc/slangdoc.html slsh/doc/html/*.html ) + einstalldocs } |