/[gentoo-x86]/dev-lisp/clozurecl/clozurecl-1.10.ebuild
Gentoo

Diff of /dev-lisp/clozurecl/clozurecl-1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.10.ebuild,v 1.1 2014/09/14 09:57:58 grozin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.10.ebuild,v 1.2 2015/03/21 14:21:02 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6
6inherit eutils multilib toolchain-funcs 7inherit eutils multilib toolchain-funcs
7 8
8MY_PN=ccl 9MY_PN=ccl
9MY_P=${MY_PN}-${PV} 10MY_P=${MY_PN}-${PV}
10 11
11DESCRIPTION="ClozureCL is a Common Lisp implementation, derived from Digitool's MCL product" 12DESCRIPTION="Common Lisp implementation, derived from Digitool's MCL product"
12HOMEPAGE="http://ccl.clozure.com/" 13HOMEPAGE="http://ccl.clozure.com/"
14SRC_URI="
13SRC_URI="x86? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz ) 15 x86? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )
14 amd64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )" 16 amd64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )"
15 # ppc? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz ) 17 # ppc? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )
16 # ppc64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )" 18 # ppc64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )"
17 19
18LICENSE="LLGPL-2.1" 20LICENSE="LLGPL-2.1"
19SLOT="0" 21SLOT="0"
20# KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" 22# KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
21KEYWORDS="~amd64 ~x86" 23KEYWORDS="~amd64 ~x86"
51 53
52 unset CCL_DEFAULT_DIRECTORY 54 unset CCL_DEFAULT_DIRECTORY
53 ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed" 55 ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed"
54 56
55 # remove non-owner write permissions on the full-image 57 # remove non-owner write permissions on the full-image
56 chmod go-w ${CCL_RUNTIME}{,.image} 58 chmod go-w ${CCL_RUNTIME}{,.image} || die
57 59
58 # remove .svn directories 60 esvn_clean
59 find "${S}" -type d -name .svn -exec rm -rf {} ';' &>/dev/null
60} 61}
61 62
62src_install() { 63src_install() {
63 local install_dir=/usr/$(get_libdir)/${PN} 64 local install_dir=/usr/$(get_libdir)/${PN}
64 65
71 dodir ${install_dir}/tools 72 dodir ${install_dir}/tools
72 cp tools/*fsl "${D}"/${install_dir}/tools || die 73 cp tools/*fsl "${D}"/${install_dir}/tools || die
73 74
74 # until we figure out which source files are necessary for runtime 75 # until we figure out which source files are necessary for runtime
75 # optional features and which aren't, we install all sources 76 # optional features and which aren't, we install all sources
76 find . -type f -name '*fsl' -delete 77 find . -type f -name '*fsl' -delete || die
77 rm -f lisp-kernel/${CCL_KERNEL}/*.o 78 rm -f lisp-kernel/${CCL_KERNEL}/*.o || die
78 cp -a compiler level-0 level-1 lib library \ 79 cp -a compiler level-0 level-1 lib library \
79 lisp-kernel scripts tools xdump contrib \ 80 lisp-kernel scripts tools xdump contrib \
80 "${D}"/${install_dir} || die 81 "${D}"/${install_dir} || die
81 cp -a ${CCL_HEADERS} "${D}"/${install_dir} || die 82 cp -a ${CCL_HEADERS} "${D}"/${install_dir} || die
82 83

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20