diff options
author | Markus Nigbur <pyrania@gentoo.org> | 2003-10-08 11:13:03 +0000 |
---|---|---|
committer | Markus Nigbur <pyrania@gentoo.org> | 2003-10-08 11:13:03 +0000 |
commit | 950a6904ef8448cbb79540e611d5742d38c28643 (patch) | |
tree | 158e791a5fbcbcc45ab1438f167852f2a64ba76a /dev-lisp/sbcl | |
parent | version bump (diff) | |
download | historical-950a6904ef8448cbb79540e611d5742d38c28643.tar.gz historical-950a6904ef8448cbb79540e611d5742d38c28643.tar.bz2 historical-950a6904ef8448cbb79540e611d5742d38c28643.zip |
version bump
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r-- | dev-lisp/sbcl/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-0.8.4 | 5 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-0.8.4.ebuild | 86 |
3 files changed, 93 insertions, 2 deletions
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 561ab9e3f3e1..ce4dbd121f5f 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -1,4 +1,4 @@ -MD5 074206fdc532a3b51dc5c931085bdfa7 sbcl-0.8.4.ebuild 2564 +MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild 2560 MD5 30af45636c7e7d046f5ad5a732473742 sbcl-0.8.3.68.ebuild 2545 MD5 215c765767ee81f9cbae0696e4fc0c53 sbcl-0.7.6-r1.ebuild 1482 MD5 f67859fbfee204bba3ee73ee8abe994a sbcl-0.6.12.ebuild 1053 @@ -6,7 +6,7 @@ MD5 6c9f9c96627678efaa377d40692ea969 sbcl-0.8.1.ebuild 1534 MD5 a6e113337aada357e7aa8b93dce9c82a sbcl-0.7.5.ebuild 1372 MD5 d913694a716b741d4edb240f3d8049b3 sbcl-0.8.3.ebuild 2562 MD5 3f7c2bc02639ca69e478db920d8b3704 sbcl-0.7.7.ebuild 1479 -MD5 4d4ef20febb79207307da1b071eaf530 ChangeLog 2878 +MD5 d34c4b0ca7fbb657c7f118b0f21aca19 ChangeLog 3174 MD5 6e40a080b566cc78dfe522ae34eec0a7 files/install-clc.lisp 1338 MD5 2821ba30af598f01018a43b370010e7c files/sbcl.rc 251 MD5 149ae58f2a3254c2746b71452292abf2 files/sbcl.sh 2170 diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.4 b/dev-lisp/sbcl/files/digest-sbcl-0.8.4 new file mode 100644 index 000000000000..9b57f3d48c3b --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.4 @@ -0,0 +1,5 @@ +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 695e6f894223c1487063164856e54a5a sbcl-0.8.4-html.tar.bz2 46397 diff --git a/dev-lisp/sbcl/sbcl-0.8.4.ebuild b/dev-lisp/sbcl/sbcl-0.8.4.ebuild new file mode 100644 index 000000000000..966a15604b10 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-0.8.4.ebuild @@ -0,0 +1,86 @@ +# 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.ebuild,v 1.1 2003/10/08 11:12:57 pyrania Exp $ + +DESCRIPTION="Steel Bank Common Lisp" +HOMEPAGE="http://sbcl.sourceforge.net/" +BV_X86=0.8.1 +BV_PPC=0.7.13 +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 ) + mirror://sourceforge/sbcl/sbcl-${PV}-html.tar.bz2" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~ppc -sparc " +PROVIDE="virtual/commonlisp" +# the SRC_URI trickery needs this +DEPEND=">=sys-apps/portage-2.0.27 + dev-lisp/common-lisp-controller" + +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-linux-binary.tar.bz2 + mv ${PN}-${BV_PPC}-ppc-linux ppc-binary + fi + unpack sbcl_${PV}.orig.tar.gz + unpack sbcl_${PV}-${DEB_PV}.diff.gz + unpack sbcl-${PV}-html.tar.bz2 +} + +src_compile() { + local bindir + use x86 && bindir=../x86-binary + use ppc && bindir=../ppc-binary + 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' +} + +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 + + dohtml doc/html/* + dodoc BUGS CREDITS NEWS README INSTALL COPYING \ + 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 + + rm -rf /usr/lib/common-lisp/sbcl/ + /usr/sbin/register-common-lisp-implementation sbcl +} + +pkg_prerm() { + /usr/sbin/unregister-common-lisp-implementation sbcl +} |