1 |
commit: d107b612ec5d1e311f03936504eacaa38fdf05a9 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 25 11:09:49 2021 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 25 11:09:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d107b612 |
7 |
|
8 |
dev-lisp/clozurecl: bump to 1.12.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
dev-lisp/clozurecl/Manifest | 2 + |
14 |
dev-lisp/clozurecl/clozurecl-1.12.1.ebuild | 81 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/dev-lisp/clozurecl/Manifest b/dev-lisp/clozurecl/Manifest |
18 |
index e0ec043115b..f79917ba573 100644 |
19 |
--- a/dev-lisp/clozurecl/Manifest |
20 |
+++ b/dev-lisp/clozurecl/Manifest |
21 |
@@ -5,4 +5,6 @@ DIST ccl-1.11.5-solarisx86.tar.gz 59139069 BLAKE2B db1a904dd4e794127e7c966a9734a |
22 |
DIST ccl-1.12-darwinx86.tar.gz 23943561 BLAKE2B 99bddb8b0de0aeb6038301fe74265bc8dd5f8d69122cd50bb06831b3d83c08837bf7b05b74a03fa9ce6ed90025192ee14e66d642a32b08da03c8bb2b7455e9da SHA512 d56bae52af8b89d013226148a754e21e77e088c2060547adbeb93007c2cc3f2b1457099972205e8bdb3ae6d8359058658dd3ad7c6bdda2f3555b6eaed7268859 |
23 |
DIST ccl-1.12-linuxx86.tar.gz 20878539 BLAKE2B 474b8ff10131ba50b208060aa8f822361c019d5a483f71baf49663b83f1207291e45950e3e7fe741638318b014891bb717574f01632fd069ec801bceac99c124 SHA512 70ba4bb49b560ea2fd51603ae3ca4fba270ab00d94ef87ed8f4910397eaab11d28ccd69573e2ada1c3023d15c2b2fd6a7184575665de1c799768cd1c6f55de06 |
24 |
DIST ccl-1.12-solarisx86.tar.gz 16902471 BLAKE2B 640eeb6f4673d3d2e824c0726e935c391961d70be4360476cba41af79864a60dbcf9769a6ef2938c5363fd7107c5f058e85b31cca5deb45c9c134f48540816ba SHA512 aa5ce2186ebd8093d21e71907ee0b4d33fc6d4ced456fbec4aa2f3434943df1ad5b3d5473a5d626e26b24607b9c6cfe03cb1c0ec14eeb1347df79f9136c756b5 |
25 |
+DIST ccl-1.12.1-darwinx86.tar.gz 23931965 BLAKE2B e7d010ccce860fef9508e6d0f389ab0cdb805045f380366d1384a0714c1c49ce829c97be5b1c2c6c6cfbc912799fc955b12cfd3b851982b06f4708c2da49dabb SHA512 b601d7503808589ea05edc196c5e6b14521b1e8afa3aaf8dd9955c5bc30f796a2a07ba3321a326612efa99715a230109c9748524cf68778391ca9b16679b51d7 |
26 |
+DIST ccl-1.12.1-linuxx86.tar.gz 20872508 BLAKE2B b8f582334a7a7654666388061c2952a51a2b94dd3885b35e5e938dd3f4bb270db351bb194523d7192611784722a10a8d846290de3aa74c492f00915ef1e327c8 SHA512 7a4ab6bbb11e1ed3a13512f03626d21b6e97ea8e1f4e34647272fab24ea37c8e54b5471f9f20ad1fffacadb9825ec3b79e72fa9d27c426e01eac7bd3601e62c8 |
27 |
DIST ccl.html 962003 BLAKE2B fc95ec5abbea7c2f5f247293691a5c5a7eddaa049156c38766ec9df4d1920fdee902c89db976cc6687535aef5ddda3c672b62156bf0f61b6369ade548dcb0141 SHA512 0cb9ee8f7eb6007e08241a0797519ff3bfc3d3adc0b5ac86e6a2e9e8b2e316fc421bea3b04159decc0a2b37ff7098147e25266946cc3c1ac367b93e4821a8b64 |
28 |
|
29 |
diff --git a/dev-lisp/clozurecl/clozurecl-1.12.1.ebuild b/dev-lisp/clozurecl/clozurecl-1.12.1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..d2113b4ccdd |
32 |
--- /dev/null |
33 |
+++ b/dev-lisp/clozurecl/clozurecl-1.12.1.ebuild |
34 |
@@ -0,0 +1,81 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit flag-o-matic multilib toolchain-funcs vcs-clean |
41 |
+ |
42 |
+MY_PN=ccl |
43 |
+MY_P=${MY_PN}-${PV} |
44 |
+ |
45 |
+DESCRIPTION="Common Lisp implementation, derived from Digitool's MCL product" |
46 |
+HOMEPAGE="https://ccl.clozure.com" |
47 |
+SRC_URI=" |
48 |
+ x86? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz ) |
49 |
+ amd64? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz ) |
50 |
+ x64-macos? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-darwinx86.tar.gz ) |
51 |
+ doc? ( https://ccl.clozure.com/docs/ccl.html )" |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
56 |
+IUSE="doc" |
57 |
+ |
58 |
+RDEPEND=">=dev-lisp/asdf-2.33-r3:=" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+S="${WORKDIR}"/${MY_PN} |
62 |
+ENVD="${T}/50ccl" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ if use x64-macos; then |
71 |
+ CCL_RUNTIME=dx86cl64; CCL_HEADERS=darwin-x86-headers64; CCL_KERNEL=darwinx8664 |
72 |
+ elif use x86; then |
73 |
+ CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers; CCL_KERNEL=linuxx8632 |
74 |
+ elif use amd64; then |
75 |
+ CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64; CCL_KERNEL=linuxx8664 |
76 |
+ fi |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ emake -C lisp-kernel/${CCL_KERNEL} clean |
81 |
+ emake -C lisp-kernel/${CCL_KERNEL} all CC="$(tc-getCC)" |
82 |
+ |
83 |
+ unset CCL_DEFAULT_DIRECTORY |
84 |
+ ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed" |
85 |
+ |
86 |
+ # remove non-owner write permissions on the full-image |
87 |
+ chmod go-w ${CCL_RUNTIME}{,.image} || die |
88 |
+ |
89 |
+ esvn_clean |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ local target_dir="/usr/$(get_libdir)/${PN}" |
94 |
+ local prefix_dir="${EPREFIX}/${target_dir#/}" |
95 |
+ |
96 |
+ mkdir -p "${D}/${prefix_dir#/}" |
97 |
+ |
98 |
+ find . -type f -name '*fsl' -delete || die |
99 |
+ rm -f lisp-kernel/${CCL_KERNEL}/*.o || die |
100 |
+ cp -a compiler level-0 level-1 lib library lisp-kernel scripts \ |
101 |
+ tools xdump ${CCL_HEADERS} ${CCL_RUNTIME} ${CCL_RUNTIME}.image \ |
102 |
+ "${D}/${prefix_dir#/}" || die |
103 |
+ |
104 |
+ echo "CCL_DEFAULT_DIRECTORY=${prefix_dir}" > "${ENVD}" |
105 |
+ doenvd "${ENVD}" |
106 |
+ |
107 |
+ dosym "${target_dir}/${CCL_RUNTIME}" /usr/bin/ccl |
108 |
+ dodoc doc/release-notes.txt |
109 |
+ |
110 |
+ if use doc ; then |
111 |
+ dodoc "${DISTDIR}/ccl.html" |
112 |
+ dodoc -r doc/manual |
113 |
+ dodoc -r examples |
114 |
+ fi |
115 |
+} |