src_prepare-overlay/dev-scheme/guile-colorized/guile-colorized-9999.ebuild

45 lines
716 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils git-r3
DESCRIPTION="Colorized REPL for GNU Guile"
HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/"
EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git"
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
RDEPEND="
>=dev-scheme/guile-2.0.9
"
DEPEND="
${RDEPEND}
"
DOCS=(
README.md
)
src_prepare() {
default
find "${S}" -name "*.scm" -exec touch {} + || die
}
src_compile() {
:
}
src_install() {
einstalldocs
local loadpath=$(guile -c "(display (string-append (car %load-path) \"/ice-9\"))")
mkdir -p "${D}${loadpath}"
emake TARGET="${D}${loadpath}" install
}