diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-03-13 15:22:54 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-03-13 17:40:12 +0100 |
commit | 9e035a941e6443ad620377185f69f3b7ffd6b9ef (patch) | |
tree | c8dd532913af8ad8c98ddce02b0d3984561256ca /dev-scheme | |
parent | dev-scheme/chez: drop old 9.6.2 (diff) | |
download | gentoo-9e035a941e6443ad620377185f69f3b7ffd6b9ef.tar.gz gentoo-9e035a941e6443ad620377185f69f3b7ffd6b9ef.tar.bz2 gentoo-9e035a941e6443ad620377185f69f3b7ffd6b9ef.zip |
dev-scheme/chez: drop old 9.6.4-r1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chez/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/chez/chez-9.6.4-r1.ebuild | 97 |
2 files changed, 0 insertions, 98 deletions
diff --git a/dev-scheme/chez/Manifest b/dev-scheme/chez/Manifest index b4d20f48a2aa..476a6f59c6eb 100644 --- a/dev-scheme/chez/Manifest +++ b/dev-scheme/chez/Manifest @@ -1,2 +1 @@ DIST chez-10.0.0.tar.gz 9109529 BLAKE2B 66b37350b0d711c4f86b8c0e0e9ca6f0c7de22591b592ff0950822c2cf4a489db1fbb2f655cbecf4a771740ffd9bba638481f20d59c5c8143468d333d57f4907 SHA512 094298744bd69033366305330d660299023c5bc5776df86f28af119f9f4cddc463366fc8f955084463137b6186843fcd34026d2714b932baa4841d6522a8dd92 -DIST chez-9.6.4.tar.gz 35679113 BLAKE2B dd008181caa7b74d35fed4a67dbbf2719af9ab7288ac6b5577fe2caf3ba4f34c5f9192fe2ca08b00d48e16d75b6c82324c1f222fe4fd321649d109dd221ffc40 SHA512 00c33650d0f980c9d28ad4871c97da67b9f25e3fde5a3188b2bbbc9cc813e63e3c9055bc6a94addedbea52cd531cbb56bcdc5e2fda6c6ca37b30166c2797e53a diff --git a/dev-scheme/chez/chez-9.6.4-r1.ebuild b/dev-scheme/chez/chez-9.6.4-r1.ebuild deleted file mode 100644 index d4fe615e9cca..000000000000 --- a/dev-scheme/chez/chez-9.6.4-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -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${PV//a}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}/csv${PV//a}" - -# Chez Scheme itself is Apache 2.0, but it vendors Nanopass and stex -# which are both MIT licensed. -LICENSE="Apache-2.0 MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~x86" -IUSE="X ncurses threads" - -RDEPEND=" - app-arch/lz4:= - sys-apps/util-linux - sys-libs/zlib:= - X? ( x11-libs/libX11 ) - ncurses? ( sys-libs/ncurses:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig -" - -src_prepare() { - tc-export AR CC CXX LD RANLIB - - default - - if use ncurses ; then - local nclibs="\"$($(tc-getPKG_CONFIG) --libs ncurses)\"" - - sed -i "s|ncursesLib=-lncurses|ncursesLib=${nclibs}|g" configure || die - fi - - # Remove -Werror - sed -i "/^C = /s|-Werror||g" c/Mf-* || die -} - -src_configure() { - # See official docs for translation guide. - # https://cisco.github.io/ChezScheme/release_notes/v9.6/release_notes.html - # "t" for threading + arch_map + "le" for Linux (hardcoded for now) - local -A arch_map=( - [amd64]=a6 - [arm]=arm32 - [ppc]=ppc32 - [x86]=i3 - ) - local machine="$(usex threads 't' '')${arch_map[${ARCH}]}le" - - local -a myconfargs=( - --machine="${machine}" - --libkernel - --nogzip-man-pages - - --installprefix="/usr" - --installbin="/usr/bin" - --installlib="/usr/$(get_libdir)" - --installman="/usr/share/man" - --installschemename=chezscheme - --installpetitename=chezscheme-petite - --installscriptname=chezscheme-script - - $(usex threads '--threads' '') - $(usex ncurses '' '--disable-curses') - $(usex X '' '--disable-x11') - - AR="$(tc-getAR)" - CC="$(tc-getCC)" - LD="$(tc-getLD)" - - LZ4="$($(tc-getPKG_CONFIG) --libs liblz4)" - ZLIB="$($(tc-getPKG_CONFIG) --libs zlib)" - ) - edob sh ./configure "${myconfargs[@]}" -} - -src_install() { - # TempRoot == DESTDIR - emake TempRoot="${ED}" install - einstalldocs - - find "${ED}/usr/$(get_libdir)/csv${PV//a}/examples" \ - \( -name "*.md" -o -name "*.so" \) -delete || die -} |