dev-scheme/chezscheme: new pkg; add version 9.5.4
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
b9f5eff3a3
commit
272bd419b2
1
dev-scheme/chezscheme/Manifest
Normal file
1
dev-scheme/chezscheme/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST chezscheme-9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123
|
41
dev-scheme/chezscheme/chezscheme-9.5.4.ebuild
Normal file
41
dev-scheme/chezscheme/chezscheme-9.5.4.ebuild
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools 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${PV}.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${PV}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(usex threads '--threads' '')
|
||||||
|
--installbin=/usr/bin
|
||||||
|
--installlib=/usr/lib64
|
||||||
|
--installman=/usr/share/man
|
||||||
|
--installprefix=/usr
|
||||||
|
--temproot="${D}"
|
||||||
|
)
|
||||||
|
sh ./configure "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
make_wrapper "chez" "${EPREFIX}/usr/bin/scheme"
|
||||||
|
make_wrapper "${PN}" "${EPREFIX}/usr/bin/scheme"
|
||||||
|
}
|
26
dev-scheme/chezscheme/files/chezscheme-tinfo.patch
Normal file
26
dev-scheme/chezscheme/files/chezscheme-tinfo.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
22
dev-scheme/chezscheme/metadata.xml
Normal file
22
dev-scheme/chezscheme/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?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>
|
Loading…
Reference in New Issue
Block a user