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