diff options
| -rw-r--r-- | dev-scheme/guile-colorized/guile-colorized-9999.ebuild | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild index 79eef16351ba..d8f4c69f42d0 100644 --- a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild +++ b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + DESCRIPTION="Colorized REPL for GNU Guile" HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" @@ -20,20 +23,20 @@ fi LICENSE="GPL-3" SLOT="0" -RDEPEND=">=dev-scheme/guile-2.0.9:=" -DEPEND="${RDEPEND}" - -src_prepare() { - default +REQUIRED_USE="${GUILE_REQUIRED_USE}" - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" src_install() { - einstalldocs + my_install() { + local loadpath=$(${GUILE} -c '(display (string-append (car %load-path) "/ice-9"))') + mkdir -p "${SLOTTED_D}${loadpath}" || die + emake -C "${S}" TARGET="${SLOTTED_D}${loadpath}" install + } + guile_foreach_impl my_install + guile_merge_roots + guile_unstrip_ccache - local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') - mkdir -p "${D}${loadpath}" - emake TARGET="${D}${loadpath}" install + einstalldocs } |
