Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/clozurecl/
Date: Fri, 01 Apr 2022 11:12:53
Message-Id: 1648808907.8aec3e6461d2b82ba2a4aca83e3d541b3d85285e.ulm@gentoo
1 commit: 8aec3e6461d2b82ba2a4aca83e3d541b3d85285e
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 10:28:27 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 10:28:27 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=8aec3e64
7
8 dev-lisp/clozurecl: Remove package
9
10 Newer version in gentoo repository.
11
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 dev-lisp/clozurecl/clozurecl-1.11.5.ebuild | 104 -----------------------------
15 1 file changed, 104 deletions(-)
16
17 diff --git a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild b/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
18 deleted file mode 100644
19 index 0c3e7e1c..00000000
20 --- a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
21 +++ /dev/null
22 @@ -1,104 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -inherit eutils flag-o-matic multilib toolchain-funcs
29 -
30 -MY_PN=ccl
31 -MY_P=${MY_PN}-${PV}
32 -
33 -DESCRIPTION="Common Lisp implementation, derived from Digitool's MCL product"
34 -HOMEPAGE="https://ccl.clozure.com"
35 -SRC_URI="
36 - x86? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz )
37 - amd64? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz )
38 - arm? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxarm.tar.gz )
39 - x86-macos? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-darwinx86.tar.gz )
40 - x64-macos? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-darwinx86.tar.gz )
41 - x86-solaris? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-solarisx86.tar.gz )
42 - x64-solaris? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-solarisx86.tar.gz )
43 - doc? ( ${HOMEPAGE}/docs/ccl.html )"
44 -
45 -LICENSE="Apache-2.0"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
48 -IUSE="doc"
49 -
50 -RDEPEND=">=dev-lisp/asdf-2.33-r3:="
51 -DEPEND="${RDEPEND}"
52 -
53 -S="${WORKDIR}"/${MY_PN}
54 -ENVD="${T}/50ccl"
55 -
56 -src_prepare() {
57 - default
58 - cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die
59 -}
60 -
61 -src_configure() {
62 - if use x86-macos; then
63 - CCL_RUNTIME=dx86cl; CCL_HEADERS=darwin-x86-headers; CCL_KERNEL=darwinx8632
64 - elif use x64-macos; then
65 - CCL_RUNTIME=dx86cl64; CCL_HEADERS=darwin-x86-headers64; CCL_KERNEL=darwinx8664
66 - elif use x86-solaris; then
67 - CCL_RUNTIME=sx86cl; CCL_HEADERS=solarisx86-headers; CCL_KERNEL=solarisx86
68 - elif use x64-solaris; then
69 - CCL_RUNTIME=sx86cl64; CCL_HEADERS=solarisx64-headers; CCL_KERNEL=solarisx64
70 - elif use x86; then
71 - CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers; CCL_KERNEL=linuxx8632
72 - elif use amd64; then
73 - CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64; CCL_KERNEL=linuxx8664
74 - elif use arm; then
75 - CCL_RUNTIME=armcl; CCL_HEADERS=arm-headers; CCL_KERNEL=linuxarm
76 - elif use ppc; then
77 - CCL_RUNTIME=ppccl; CCL_HEADERS=headers; CCL_KERNEL=linuxppc
78 - elif use ppc64; then
79 - CCL_RUNTIME=ppccl64; CCL_HEADERS=headers64; CCL_KERNEL=linuxppc64
80 - fi
81 -}
82 -
83 -src_prepare() {
84 - default
85 - # https://lists.clozure.com/pipermail/openmcl-devel/2016-September/011399.html
86 - sed -i "s/-dynamic/-no_pie/" "${S}/lisp-kernel/darwinx8664/Makefile" || die
87 - cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die
88 -}
89 -
90 -src_compile() {
91 - emake -C lisp-kernel/${CCL_KERNEL} clean
92 - emake -C lisp-kernel/${CCL_KERNEL} all CC="$(tc-getCC)"
93 -
94 - unset CCL_DEFAULT_DIRECTORY
95 - ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed"
96 -
97 - # remove non-owner write permissions on the full-image
98 - chmod go-w ${CCL_RUNTIME}{,.image} || die
99 -
100 - esvn_clean
101 -}
102 -
103 -src_install() {
104 - local target_dir="/usr/$(get_libdir)/${PN}"
105 - local prefix_dir="${EPREFIX}/${target_dir#/}"
106 -
107 - mkdir -p "${D}/${prefix_dir#/}"
108 -
109 - find . -type f -name '*fsl' -delete || die
110 - rm -f lisp-kernel/${CCL_KERNEL}/*.o || die
111 - cp -a compiler level-0 level-1 lib library lisp-kernel scripts \
112 - tools xdump ${CCL_HEADERS} ${CCL_RUNTIME} ${CCL_RUNTIME}.image \
113 - "${D}/${prefix_dir#/}" || die
114 -
115 - echo "CCL_DEFAULT_DIRECTORY=${prefix_dir}" > "${ENVD}"
116 - doenvd "${ENVD}"
117 -
118 - dosym "${target_dir}/${CCL_RUNTIME}" /usr/bin/ccl
119 - dodoc doc/release-notes.txt
120 -
121 - if use doc ; then
122 - dodoc "${DISTDIR}/ccl.html"
123 - dodoc -r doc/manual
124 - dodoc -r examples
125 - fi
126 -}