diff options
author | Maciej Barć <xgqt@riseup.net> | 2021-11-06 13:55:27 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@riseup.net> | 2021-11-08 18:48:22 +0100 |
commit | 9ca9af9617832612c7877238a512a91d01588722 (patch) | |
tree | a64503da3d1da0dcff035f442608c3c3462538d4 /dev-scheme | |
parent | app-accessibility/rhvoice: keep FindSanitizers.cmake (diff) | |
download | guru-9ca9af9617832612c7877238a512a91d01588722.tar.gz guru-9ca9af9617832612c7877238a512a91d01588722.tar.bz2 guru-9ca9af9617832612c7877238a512a91d01588722.zip |
dev-scheme/chez: bump to 9.5.6
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chez/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/chez/chez-9.5.6.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-scheme/chez/Manifest b/dev-scheme/chez/Manifest index ea8a4b91e..905f42a92 100644 --- a/dev-scheme/chez/Manifest +++ b/dev-scheme/chez/Manifest @@ -1 +1,2 @@ DIST chez-9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123 +DIST chez-9.5.6.tar.gz 34565487 BLAKE2B 5d74cd3365b3039e6be1b774213da75da1080beffb1c9b5044466a8feff0171ce75d9999e69774754a5969d68825c571a88cb27d57af2718e98668e4fe936e3c SHA512 4affd73a5b2ea5cdec01fb200a32499387fc3769b7677ffe7d854f6a5567d50ba114f9f12951f99d8e0fd757c799e82e32c83079fae83e5fc138ee6e1a5f56c0 diff --git a/dev-scheme/chez/chez-9.5.6.ebuild b/dev-scheme/chez/chez-9.5.6.ebuild new file mode 100644 index 000000000..18f1b2b25 --- /dev/null +++ b/dev-scheme/chez/chez-9.5.6.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CSV="csv${PV}" + +inherit multilib + +DESCRIPTION="A programming language based on R6RS" +HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme" +SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz" + +# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2), +# Nanopass (MIT), stex (MIT), and zlib (ZLIB). +LICENSE="Apache-2.0 BSD-2 MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X examples ncurses threads" + +DEPEND=" + X? ( x11-libs/libX11 ) + ncurses? ( sys-libs/ncurses ) +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${CSV}" + +src_prepare() { + default + + if use ncurses; then + eapply "${FILESDIR}/tinfo.patch" + fi +} + +src_configure() { + local myconfargs=( + $(usex threads '--threads' '') + $(usex ncurses '' '--disable-curses') + $(usex X '' '--disable-x11') + --installprefix="/usr" + --installbin="/usr/bin" + --installlib="/usr/$(get_libdir)" + --installman="/usr/share/man" + --temproot="${D}" + --installschemename=chezscheme + --installpetitename=chezscheme-petite + --installscriptname=chezscheme-script + --nogzip-man-pages + ) + ./configure "${myconfargs[@]}" || die +} + +src_install() { + default + + if ! use examples; then + rm -r "${D}/usr/$(get_libdir)/${CSV}/examples" || die + fi +} |