1 |
commit: 1f1a479005c1052500b9e0cfbc4d6b1ebd54d047 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 16:23:00 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 16:23:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1a4790 |
7 |
|
8 |
dev-scheme/chez: drop old 9.5.8 |
9 |
|
10 |
remove the superseded revision |
11 |
|
12 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
13 |
|
14 |
dev-scheme/chez/chez-9.5.8.ebuild | 69 --------------------------------------- |
15 |
1 file changed, 69 deletions(-) |
16 |
|
17 |
diff --git a/dev-scheme/chez/chez-9.5.8.ebuild b/dev-scheme/chez/chez-9.5.8.ebuild |
18 |
deleted file mode 100644 |
19 |
index 2d9538ba01d5..000000000000 |
20 |
--- a/dev-scheme/chez/chez-9.5.8.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,69 +0,0 @@ |
23 |
-# Copyright 2021-2022 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=8 |
27 |
- |
28 |
-CSV="csv${PV}" |
29 |
- |
30 |
-inherit toolchain-funcs |
31 |
- |
32 |
-DESCRIPTION="A programming language based on R6RS" |
33 |
-HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme" |
34 |
-SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz" |
35 |
-S="${WORKDIR}/${CSV}" |
36 |
- |
37 |
-# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2), |
38 |
-# Nanopass (MIT), stex (MIT), and zlib (ZLIB). |
39 |
-LICENSE="Apache-2.0 BSD-2 MIT ZLIB" |
40 |
-SLOT="0/${PV}" |
41 |
-KEYWORDS="amd64 ~x86" |
42 |
-IUSE="X examples ncurses threads" |
43 |
- |
44 |
-BDEPEND="virtual/pkgconfig" |
45 |
-RDEPEND=" |
46 |
- X? ( x11-libs/libX11 ) |
47 |
- ncurses? ( sys-libs/ncurses:= ) |
48 |
-" |
49 |
-DEPEND="${RDEPEND}" |
50 |
- |
51 |
-src_prepare() { |
52 |
- tc-export AR CC CXX LD RANLIB |
53 |
- |
54 |
- default |
55 |
- |
56 |
- if use ncurses ; then |
57 |
- local nclibs="\"$($(tc-getPKG_CONFIG) --libs ncurses)\"" |
58 |
- sed -i "s|ncursesLib=-lncurses|ncursesLib=${nclibs}|g" configure || die |
59 |
- fi |
60 |
- |
61 |
- # Remove -Werror |
62 |
- sed -i "/^C = /s|-Werror||g" c/Mf-* || die |
63 |
-} |
64 |
- |
65 |
-src_configure() { |
66 |
- local myconfargs=( |
67 |
- $(usex threads '--threads' '') |
68 |
- $(usex ncurses '' '--disable-curses') |
69 |
- $(usex X '' '--disable-x11') |
70 |
- --installprefix="/usr" |
71 |
- --installbin="/usr/bin" |
72 |
- --installlib="/usr/$(get_libdir)" |
73 |
- --installman="/usr/share/man" |
74 |
- --installschemename=chezscheme |
75 |
- --installpetitename=chezscheme-petite |
76 |
- --installscriptname=chezscheme-script |
77 |
- --nogzip-man-pages |
78 |
- ) |
79 |
- sh ./configure "${myconfargs[@]}" || die |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- # TempRoot == DESTDIR |
84 |
- emake TempRoot="${D}" install |
85 |
- |
86 |
- if ! use examples; then |
87 |
- rm -r "${D}/usr/$(get_libdir)/${CSV}/examples" || die |
88 |
- fi |
89 |
- |
90 |
- einstalldocs |
91 |
-} |