dev-scheme: move chez to ::gentoo

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2021-11-25 18:43:38 +01:00
parent 50bb2e2970
commit f7787d9c77
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
5 changed files with 0 additions and 181 deletions

View File

@ -1,2 +0,0 @@
DIST chez-9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123
DIST chez-9.5.6.tar.gz 34565487 BLAKE2B 5d74cd3365b3039e6be1b774213da75da1080beffb1c9b5044466a8feff0171ce75d9999e69774754a5969d68825c571a88cb27d57af2718e98668e4fe936e3c SHA512 4affd73a5b2ea5cdec01fb200a32499387fc3769b7677ffe7d854f6a5567d50ba114f9f12951f99d8e0fd757c799e82e32c83079fae83e5fc138ee6e1a5f56c0

View File

@ -1,62 +0,0 @@
# 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"
S="${WORKDIR}/${CSV}"
# 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}"
src_prepare() {
tc-export AR CC CXX LD RANLIB
if use ncurses; then
eapply "${FILESDIR}/tinfo.patch"
fi
default
}
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
)
sh ./configure "${myconfargs[@]}" || die
}
src_install() {
default
if ! use examples; then
rm -r "${D}/usr/$(get_libdir)/${CSV}/examples" || die
fi
}

View File

@ -1,62 +0,0 @@
# 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"
S="${WORKDIR}/${CSV}"
# 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}"
src_prepare() {
tc-export AR CC CXX LD RANLIB
if use ncurses; then
eapply "${FILESDIR}/tinfo.patch"
fi
default
}
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
)
sh ./configure "${myconfargs[@]}" || die
}
src_install() {
default
if ! use examples; then
rm -r "${D}/usr/$(get_libdir)/${CSV}/examples" || die
fi
}

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,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>matt@offtopica.uk</email>
<name>Matt Smith</name>
</maintainer>
<maintainer type="person">
<email>xgqt@riseup.net</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription lang="en">
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>
<upstream>
<remote-id type="github">cisco/ChezScheme</remote-id>
</upstream>
</pkgmetadata>