Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lisp/clozurecl: ChangeLog clozurecl-1.5.ebuild
Date: Sat, 01 May 2010 12:10:49
Message-Id: 20100501121040.E708C2C0E7@corvid.gentoo.org
1 grozin 10/05/01 12:10:40
2
3 Modified: ChangeLog
4 Added: clozurecl-1.5.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 dev-lisp/clozurecl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clozurecl/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clozurecl/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clozurecl/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 17 Dec 2009 12:16:40 -0000 1.1
23 +++ ChangeLog 1 May 2010 12:10:40 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lisp/clozurecl
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/ChangeLog,v 1.1 2009/12/17 12:16:40 grozin Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/ChangeLog,v 1.2 2010/05/01 12:10:40 grozin Exp $
30 +
31 +*clozurecl-1.5 (01 May 2010)
32 +
33 + 01 May 2010; Andrey Grozin <grozin@g.o> +clozurecl-1.5.ebuild:
34 + Version bump
35
36 *clozurecl-1.4 (17 Dec 2009)
37
38
39
40
41 1.1 dev-lisp/clozurecl/clozurecl-1.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: clozurecl-1.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.5.ebuild,v 1.1 2010/05/01 12:10:40 grozin Exp $
51
52 EAPI=3
53 inherit eutils
54
55 MY_PN=ccl
56 MY_P=${MY_PN}-${PV}
57
58 DESCRIPTION="ClozureCL is a Common Lisp implementation, derived from Digitool's MCL product"
59 HOMEPAGE="http://ccl.clozure.com/"
60 SRC_URI="x86? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )
61 amd64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )"
62 # ppc? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )
63 # ppc64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )"
64
65 LICENSE="LLGPL-2.1"
66 SLOT="0"
67 # KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="doc"
70
71 DEPEND="!dev-lisp/openmcl"
72
73 PROVIDE="virtual/commonlisp"
74
75 S="${WORKDIR}"/${MY_PN}
76
77 ENVD="${T}"/50ccl
78
79 src_prepare() {
80 find "${S}" -type d -name .svn -exec rm -rf {} ';' &>/dev/null
81 find "${S}" -type f -name .cvsignore -delete &>/dev/null
82 epatch "${FILESDIR}"/fix_user-homedir-pathname.patch
83 }
84
85 src_configure() {
86 if use x86; then
87 CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers
88 elif use amd64; then
89 CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64
90 elif use ppc; then
91 CCL_RUNTIME=ppccl; CCL_HEADERS=headers
92 elif use ppc64; then
93 CCL_RUNTIME=ppccl64; CCL_HEADERS=headers64
94 fi
95 }
96
97 src_compile() {
98 unset CCL_DEFAULT_DIRECTORY
99 ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed"
100
101 # remove non-owner write permissions on the full-image
102 chmod go-w ${CCL_RUNTIME}{,.image}
103 }
104
105 src_install() {
106 local install_dir=/usr/$(get_libdir)/${PN}
107
108 exeinto ${install_dir}
109 # install executable
110 doexe ${CCL_RUNTIME}
111 # install core image
112 cp ${CCL_RUNTIME}.image "${D}"/${install_dir} || die
113 # install optional libraries
114 dodir ${install_dir}/tools
115 cp tools/*fsl "${D}"/${install_dir}/tools || die
116
117 # until we figure out which source files are necessary for runtime
118 # optional features and which aren't, we install all sources
119 find . -type f -name '*fsl' -delete
120 cp -a compiler level-0 level-1 lib library \
121 lisp-kernel scripts tools xdump \
122 "${D}"/${install_dir} || die
123 cp -a ${CCL_HEADERS} "${D}"/${install_dir} || die
124
125 make_wrapper ccl "${install_dir}/${CCL_RUNTIME}"
126
127 echo "CCL_DEFAULT_DIRECTORY=${install_dir}" > "${ENVD}"
128 doenvd "${ENVD}"
129
130 dodoc doc/release-notes.txt
131 dohtml doc/ccl-documentation.html
132 use doc && dohtml -r examples
133 }