diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-12 01:38:00 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-12 01:38:00 +0000 |
commit | 8a17290a2cd98f5a015f759b24712552c693b700 (patch) | |
tree | a965a2a5819c7acccd8b11d344cc28ddbe12f839 /dev-lisp/sbcl | |
parent | fix time stamp problems (diff) | |
download | historical-8a17290a2cd98f5a015f759b24712552c693b700.tar.gz historical-8a17290a2cd98f5a015f759b24712552c693b700.tar.bz2 historical-8a17290a2cd98f5a015f759b24712552c693b700.zip |
fix time stamp problems
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r-- | dev-lisp/sbcl/Manifest | 2 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-0.8.4-r2 | 7 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild | 107 |
3 files changed, 115 insertions, 1 deletions
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index c0d55176d682..5a2455b2fb30 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -7,7 +7,7 @@ MD5 6c9f9c96627678efaa377d40692ea969 sbcl-0.8.1.ebuild 1534 MD5 30af45636c7e7d046f5ad5a732473742 sbcl-0.8.3.68.ebuild 2545 MD5 d913694a716b741d4edb240f3d8049b3 sbcl-0.8.3.ebuild 2562 MD5 2842b64ad2353ca9b97ab1563ddb1e35 sbcl-0.8.4-r1.ebuild 3569 -MD5 87f0e6e890505a81ed87b4f74e302137 sbcl-0.8.4-r2.ebuild 3812 +MD5 1c5d11309e9123d6e62fb0494b891516 sbcl-0.8.4-r2.ebuild 3812 MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild 2560 MD5 36e1837606337c53dc21111b18146143 files/digest-sbcl-0.6.12 150 MD5 61c9382b669d5b190b434be62664253e files/digest-sbcl-0.7.5 219 diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r2 b/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r2 new file mode 100644 index 000000000000..d5e860ee71b3 --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.4-r2 @@ -0,0 +1,7 @@ +MD5 d4abd72b2ff6609edf13db0c8be74753 sbcl_0.8.4.orig.tar.gz 2532894 +MD5 6f50fc5c69c48ed3e1183ff5953346b5 sbcl_0.8.4-1.diff.gz 11384 +MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 +MD5 1cbd667b28d6d5afabccc759315eea70 sbcl-0.7.13-binary-linux-ppc.tar.bz2 5339432 +MD5 7cb56cd42b1f5797d26316e79aaccb06 sbcl-0.7.13-sparc-linux-binary.tar.bz2 5670293 +MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +MD5 695e6f894223c1487063164856e54a5a sbcl-0.8.4-html.tar.bz2 46397 diff --git a/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild new file mode 100644 index 000000000000..7d2fff449758 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild,v 1.1 2003/10/12 01:37:57 mkennedy Exp $ + +DESCRIPTION="Steel Bank Common Lisp (SBCL) is a Open Source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. (And it, and its generated code, can also play nicely with Unix when running noninteractively.)" +HOMEPAGE="http://sbcl.sourceforge.net/" +BV_X86=0.8.1 +BV_PPC=0.7.13 +BV_SPARC=0.7.13 +BV_MIPS=0.7.10 +DEB_PV=1 +SRC_URI="http://ftp.debian.org/debian/pool/main/s/sbcl/sbcl_${PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/s/sbcl/sbcl_${PV}-${DEB_PV}.diff.gz + x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) + ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-binary-linux-ppc.tar.bz2 ) + sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) + mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz ) + mirror://sourceforge/sbcl/sbcl-${PV}-html.tar.bz2" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~mips" +PROVIDE="virtual/commonlisp" +# the SRC_URI trickery needs this +DEPEND=">=sys-apps/portage-2.0.27 + dev-lisp/common-lisp-controller + doc? ( app-text/openjade )" + +S=${WORKDIR}/${P} + +src_unpack() { + if use x86; then + unpack ${PN}-${BV_X86}-x86-linux-binary.tar.bz2 + mv ${PN}-${BV_X86} x86-binary + elif use ppc; then + unpack ${PN}-${BV_PPC}-ppc-binary-linux.tar.bz2 + mv ${PN}-${BV_PPC}-ppc-linux ppc-binary + elif use sparc; then + unpack ${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 + mv ${PN}-${BV_SPARC}-sparc-linux sparc-binary + elif use mips; then + unpack ${PN}-${BV_SPARC}-mips-linux-binary.tar.gz + mv ${PN}-${BV_SPARC}-mips-linux mips-binary + fi + unpack sbcl_${PV}.orig.tar.gz + unpack sbcl_${PV}-${DEB_PV}.diff.gz + epatch sbcl_${PV}-${DEB_PV}.diff +} + +src_compile() { + local bindir + use x86 && bindir=../x86-binary + use ppc && bindir=../ppc-binary + use sparc && bindir=../sparc-binary + use mips && bindir=../mips-binary + # TODO: allow the user to chose between SBCL, CMUCL and CLISP for bootstrapping + PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \ + ./make.sh 'sbcl --sysinit /dev/null --userinit /dev/null --noprogrammer --core ${bindir}/output/sbcl.core' + if use doc; then + cd doc && chmod +x make-doc.sh + ./make-doc.sh + fi +} + +src_install() { + unset SBCL_HOME + + insinto /etc/ + doins ${FILESDIR}/sbcl.rc + + exeinto /usr/lib/common-lisp/bin + doexe ${FILESDIR}/sbcl.sh + + INSTALL_ROOT=${D}/usr sh install.sh + mv ${D}/usr/lib/sbcl/sbcl.core ${D}/usr/lib/sbcl/sbcl-dist.core + + insinto /usr/lib/sbcl + doins ${FILESDIR}/install-clc.lisp + + dodir /usr/share + mv ${D}/usr/man ${D}/usr/share/ + doman debian/sbcl-asdf-install.1 + + use doc && dohtml doc/html/* + dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO \ + debian/README.Debian debian/changelog debian/copyright + + find ${D} -type f -name .cvsignore |xargs rm -f +} + +pkg_postinst() { + einfo ">>> Fixing permissions for executables and directories..." + find /usr/share/common-lisp/source -type d -o \( -type f -perm +111 \) |xargs chmod 755 + einfo ">>> fix permissions for non-executable files..." + find /usr/share/common-lisp/source -type f ! -perm -111 |xargs chmod 644 + # force recompile + rm -rf /usr/lib/common-lisp/sbcl/ + # since the Portage emerge step kills file timestamp information, + # we need to compensate by ensuring all fasl files are more recent + # than their source. + sleep 5 && find /usr/lib/sbcl -type f -name \*.fasl |xargs touch + + /usr/sbin/register-common-lisp-implementation sbcl +} + +pkg_prerm() { + /usr/sbin/unregister-common-lisp-implementation sbcl +} |