dev-scheme/chezscheme: moved to ::gentoo

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-06-24 22:36:39 +02:00
parent b0d310abd3
commit 409d3bc157
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 0 additions and 95 deletions

View File

@ -1 +0,0 @@
DIST chezscheme-9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123

View File

@ -1,46 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CSV="csv${PV}"
inherit autotools multilib wrapper
DESCRIPTION="Open-source Chez Scheme implementation from Cisco"
HOMEPAGE="https://cisco.github.io/ChezScheme/"
SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror test"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="threads"
PATCHES=(
"${FILESDIR}/chezscheme-tinfo.patch"
)
S="${WORKDIR}/${CSV}"
src_configure() {
local myconf=(
$(usex threads '--threads' '')
--installbin="/usr/$(get_libdir)/${CSV}"
--installlib="/usr/$(get_libdir)"
--installman="/usr/share/man"
--installprefix="/usr"
--temproot="${D}"
)
sh ./configure "${myconf[@]}"
}
src_install() {
default
local chez_dir="${EPREFIX}/usr/$(get_libdir)/${CSV}"
make_wrapper "${PN}" "${chez_dir}/scheme"
make_wrapper "chez" "${chez_dir}/scheme"
make_wrapper "petite" "${chez_dir}/petite"
make_wrapper "scheme-script" "${chez_dir}/scheme-script"
}

View File

@ -1,26 +0,0 @@
diff --git a/c/Mf-a6le b/c/Mf-a6le
index 1564cce..0cf0bd4 100644
--- a/c/Mf-a6le
+++ b/c/Mf-a6le
@@ -16,7 +16,7 @@
m = a6le
Cpu = X86_64
-mdclib = -lm -ldl ${ncursesLib} -lrt -luuid
+mdclib = -lm -ldl ${ncursesLib} -lrt -luuid -ltinfo
C = ${CC} ${CPPFLAGS} -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 ${CFLAGS}
o = o
mdsrc = i3le.c
diff --git a/c/Mf-ta6le b/c/Mf-ta6le
index 6adb83f..7f4d805 100644
--- a/c/Mf-ta6le
+++ b/c/Mf-ta6le
@@ -16,7 +16,7 @@
m = ta6le
Cpu = X86_64
-mdclib = -lm -ldl ${ncursesLib} -lpthread -lrt -luuid
+mdclib = -lm -ldl ${ncursesLib} -lpthread -lrt -luuid -ltinfo
C = ${CC} ${CPPFLAGS} -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread ${CFLAGS}
o = o
mdsrc = i3le.c

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">cisco/ChezScheme</remote-id>
</upstream>
<longdescription>
Chez Scheme is both a programming language and an implementation of that language,
with supporting tools and documentation.
As a superset of the language described in the Revised6 Report on the Algorithmic Language Scheme (R6RS),
Chez Scheme supports all standard features of Scheme, including first-class procedures,
proper treatment of tail calls, continuations, user-defined records, libraries, exceptions
and hygienic macro expansion.
Chez Scheme also includes extensive support for interfacing with C and other languages,
support for multiple threads possibly running on multiple cores, non-blocking I/O
and many other features.
</longdescription>
</pkgmetadata>