diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-12-21 19:58:25 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-12-21 19:58:25 +0000 |
commit | 9ed407f3f169f59738bb78f02d73b0f3a23a7b45 (patch) | |
tree | 975ab7018aacaae519a2bf543a823a7e5572955c /dev-lisp/common-lisp-controller | |
parent | *** empty log message *** (diff) | |
download | historical-9ed407f3f169f59738bb78f02d73b0f3a23a7b45.tar.gz historical-9ed407f3f169f59738bb78f02d73b0f3a23a7b45.tar.bz2 historical-9ed407f3f169f59738bb78f02d73b0f3a23a7b45.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/common-lisp-controller')
3 files changed, 111 insertions, 2 deletions
diff --git a/dev-lisp/common-lisp-controller/Manifest b/dev-lisp/common-lisp-controller/Manifest index 13d961b1547f..84a6eea33887 100644 --- a/dev-lisp/common-lisp-controller/Manifest +++ b/dev-lisp/common-lisp-controller/Manifest @@ -1,9 +1,9 @@ -MD5 61bd6fb6de642dda8693309bb1125cd6 ChangeLog 1898 +MD5 b315b2afec63da4c47c84c212fbb020a ChangeLog 1900 MD5 db138ccd13431e8fff8e91a5e479b217 common-lisp-controller-3.64.ebuild 3595 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 MD5 79afd738b20398ab8098fe9b00f8f3e3 common-lisp-controller-3.76.ebuild 2846 MD5 8729c2c63b353fd7594b42c522cb8cdf common-lisp-controller-3.76-r1.ebuild 3162 -MD5 e0353fc1e8acf36708fd216928c30811 common-lisp-controller-3.76-r2.ebuild 3157 +MD5 97223d03603dd433ae09ad5b9550aef3 common-lisp-controller-3.76-r2.ebuild 3159 MD5 531ca5d802bb5b70c234532655bbfa91 files/digest-common-lisp-controller-3.64 80 MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76 80 MD5 68d7b210f93fc095db4ec27504b86784 files/clc-build-daemon 657 diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-3.76-r2.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-3.76-r2.ebuild new file mode 100644 index 000000000000..b67cbfc1ede1 --- /dev/null +++ b/dev-lisp/common-lisp-controller/common-lisp-controller-3.76-r2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/common-lisp-controller-3.76-r2.ebuild,v 1.1 2003/12/21 19:58:17 mkennedy Exp $ + +DESCRIPTION="Common Lisp Controller" +HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/common-lisp-controller/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~sparc ~ppc ~mips" + +DEPEND="dev-lisp/cl-defsystem3 + dev-lisp/cl-asdf + app-admin/realpath + virtual/logger" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-coreutils-gentoo.patch +} + +src_install() { + dobin clc-autobuild* \ + clc-register-user-package \ + clc-unregister-user-package + + dobin ${FILESDIR}/clc-send-command +# newsbin clc-build-daemon-standalone clc-build-daemon + + dosbin clc-reregister-all-impl \ + register-common-lisp-source \ + register-common-lisp-implementation \ + unregister-common-lisp-source \ + unregister-common-lisp-implementation + + exeinto /usr/lib/common-lisp-controller + doexe debug-daemon-problems.sh + + dodir /usr/share/common-lisp/source/common-lisp-controller + insinto /usr/share/common-lisp/source/common-lisp-controller + doins common-lisp-controller.lisp \ + post-sysdef-install.lisp \ + pre-sysdef-install.lisp + + dodir /usr/lib/common-lisp + dodir /usr/lib/common-lisp/bin + + dodir /etc/common-lisp + touch ${D}/etc/common-lisp/autobuild # autobuild by default + + dodoc *.txt README.* + doman man/*.1 man/*.8 man/old/*.1 + + einfo ">>> Creating /etc/lisp-config.lisp" + dodir /etc + cat >${D}/etc/lisp-config.lisp <<EOF +(in-package :common-lisp-user) +#+(or cmu scl) (setf system:*short-site-name* "Unknown" system:*long-site-name* "Unknown") +#+sbcl (setf sb-sys:*short-site-name* "Unknown" sb-sys:*long-site-name* "Unknown") +EOF + + dodoc ${FILESDIR}/README.Gentoo + insinto /usr/share/doc/${PF}/inetd-examples + doins ${FILESDIR}/{inetd.conf-snippet,clc-build-daemon} + + keepdir /usr/lib/common-lisp /usr/lib/common-lisp/bin +} + +pkg_postinst() { + userdel cl-builder &>/dev/null || true + groupdel cl-builder &>/dev/null || true + enewgroup cl-builder + enewuser cl-builder -1 /bin/sh /usr/lib/common-lisp cl-builder + chown root:root /usr/lib/common-lisp + + for compiler in /usr/lib/common-lisp/bin/*.sh + do + if [ -f "${compiler}" -a -r "${compiler}" -a -x "${compiler}" ] ; then + i=${compiler##*/} + i=${i%.sh} + einfo ">>> Recompiling Common Lisp Controller for $i" + bash "$compiler" install-clc || true + einfo ">>> Done rebuilding" + chown -R cl-builder:cl-builder /usr/lib/common-lisp/${i} &>/dev/null || true + fi + done + echo + while read line; do einfo "${line}"; done <${FILESDIR}/README.Gentoo +} + +# pkg_prerm() { +# for compiler in /usr/lib/common-lisp/bin/*.sh +# do +# if [ -f "$compiler" -a -r "$compiler}" ] ; then +# i=${compiler##*/} +# i=${i%.sh} +# echo Deinstalling for ${i##*/} +# echo Removing Common Lisp Controller for $i +# if [ -x "$compiler"] ; then +# bash "$compiler" remove-clc || true +# fi +# echo Done rebuilding +# fi +# done +# } diff --git a/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76-r2 b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76-r2 new file mode 100644 index 000000000000..b7f4bd60c969 --- /dev/null +++ b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76-r2 @@ -0,0 +1 @@ +MD5 9e2498694527902f9c42364a7c27721c common-lisp-controller_3.76.tar.gz 1229601 |