summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-02-27 03:41:32 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-02-27 03:41:32 +0000
commitd993a4a093124086791f709693a0292b1a52383e (patch)
treeff5df23a931dad89f055e8b832479b111c742107
parentPut the hack in the eclass. (diff)
downloadgentoo-2-d993a4a093124086791f709693a0292b1a52383e.tar.gz
gentoo-2-d993a4a093124086791f709693a0292b1a52383e.tar.bz2
gentoo-2-d993a4a093124086791f709693a0292b1a52383e.zip
*** empty log message ***
-rw-r--r--dev-lisp/cmucl/ChangeLog6
-rw-r--r--dev-lisp/cmucl/Manifest17
-rw-r--r--dev-lisp/cmucl/cmucl-18e-r4.ebuild107
-rw-r--r--dev-lisp/cmucl/files/digest-cmucl-18e-r42
-rw-r--r--dev-lisp/cmucl/metadata.xml24
5 files changed, 148 insertions, 8 deletions
diff --git a/dev-lisp/cmucl/ChangeLog b/dev-lisp/cmucl/ChangeLog
index c865ce8ef5c9..ce0f12972a64 100644
--- a/dev-lisp/cmucl/ChangeLog
+++ b/dev-lisp/cmucl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lisp/cmucl
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/ChangeLog,v 1.5 2004/02/14 00:07:00 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/ChangeLog,v 1.6 2004/02/27 03:41:32 mkennedy Exp $
+
+ 26 Feb 2004; <mkennedy@gentoo.org> metadata.xml:
+ Added metadata.xml; Move out postinst, prerm states to eclass; Fix ebuild to
+ build against openmotif or lesstif
*cmucl-18e-r3 (13 Feb 2004)
diff --git a/dev-lisp/cmucl/Manifest b/dev-lisp/cmucl/Manifest
index 2c6ede39e266..0c6acc42cdcd 100644
--- a/dev-lisp/cmucl/Manifest
+++ b/dev-lisp/cmucl/Manifest
@@ -1,14 +1,17 @@
-MD5 45df4abe574785292929b447a04ba08f cmucl-18e-r2.ebuild 3217
+MD5 95a4689e2745adb7fc45e43afe5ea098 cmucl-18e-r4.ebuild~ 3423
+MD5 a4de89ab7d44c091345da6eeec896785 cmucl-18e-r4.ebuild 3455
MD5 6221f2081f9b1df454e0ade00e9c096b cmucl-18e-r1.ebuild 3321
-MD5 99ca05f54412d3c9b9cdf9b6b65048e5 cmucl-18e.ebuild 2663
-MD5 ff3c15716f15bfebe6abb795547524de ChangeLog 1166
MD5 95a4689e2745adb7fc45e43afe5ea098 cmucl-18e-r3.ebuild 3423
+MD5 45df4abe574785292929b447a04ba08f cmucl-18e-r2.ebuild 3217
+MD5 ff3c15716f15bfebe6abb795547524de ChangeLog 1166
+MD5 99ca05f54412d3c9b9cdf9b6b65048e5 cmucl-18e.ebuild 2663
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 df309c5d109052b9c57d79bb4aac5871 files/digest-cmucl-18e-r3 137
MD5 3e3791768309ef2b15c4e342b300980b files/digest-cmucl-18e 205
-MD5 3e3791768309ef2b15c4e342b300980b files/digest-cmucl-18e-r1 205
+MD5 df309c5d109052b9c57d79bb4aac5871 files/digest-cmucl-18e-r4 137
MD5 df309c5d109052b9c57d79bb4aac5871 files/digest-cmucl-18e-r2 137
-MD5 df309c5d109052b9c57d79bb4aac5871 files/digest-cmucl-18e-r3 137
+MD5 3e3791768309ef2b15c4e342b300980b files/digest-cmucl-18e-r1 205
+MD5 997a2bfdcd98bc978f6c3b79ba8f2264 files/18e/README.Gentoo 848
+MD5 190f38f6f6f33f3e1ceee848d2583573 files/18e/site-init.lisp.in 1935
MD5 379cf3aca883a7097c0410f96be55378 files/18e/install-clc.lisp-gentoo.patch 1294
MD5 306ba9e5615290fb688a46f7c0efdc07 files/18e/herald-save.lisp-gentoo.patch 751
-MD5 190f38f6f6f33f3e1ceee848d2583573 files/18e/site-init.lisp.in 1935
-MD5 997a2bfdcd98bc978f6c3b79ba8f2264 files/18e/README.Gentoo 848
diff --git a/dev-lisp/cmucl/cmucl-18e-r4.ebuild b/dev-lisp/cmucl/cmucl-18e-r4.ebuild
new file mode 100644
index 000000000000..5d9dacdb27e9
--- /dev/null
+++ b/dev-lisp/cmucl/cmucl-18e-r4.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/cmucl-18e-r4.ebuild,v 1.1 2004/02/27 03:41:32 mkennedy Exp $
+
+inherit common-lisp-common
+
+DEB_PV=8
+
+DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp"
+HOMEPAGE="http://www.cons.org/cmucl/
+ http://packages.debian.org/unstable/devel/cmucl.html"
+LICENSE="public-domain"
+DEPEND="dev-lisp/common-lisp-controller
+ doc? ( app-text/tetex )
+ lesstif? ( x11-libs/lesstif )
+ !lesstif? ( x11-libs/openmotif )"
+IUSE="doc lesstif"
+SLOT="0"
+KEYWORDS="~x86"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/cmucl/cmucl_${PV}-${DEB_PV}.tar.gz
+ http://cmucl.cons.org/ftp-area/cmucl/release/18e/cmucl-${PV}-x86-linux.tar.bz2"
+
+PROVIDE="virtual/commonlisp"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}/herald-save.lisp-gentoo.patch
+ epatch ${FILESDIR}/${PV}/install-clc.lisp-gentoo.patch
+}
+
+src_compile() {
+ # non-x86 maintainers, add to the the following and verify
+
+ if use lesstif || test -d /usr/X11R6/include/lesstif; then
+ sed -i -e 's,-I/usr/X11R6/include,/usr/X11R6/include/lesstif,g' \
+ -e 's,-L/usr/X11R6/lib,-L/usr/X11R6/lib/lesstif,g' \
+ src/motif/server/Config.x86
+ fi
+
+ PATH=${WORKDIR}/bin:$PATH CMUCLCORE=${WORKDIR}/lib/cmucl/lib/lisp.core make || die
+ if use doc; then
+ make -C src/docs
+ fi
+}
+
+src_install() {
+ insinto /usr/lib/cmucl/include
+ doins src/lisp/*.h target/lisp/*.h target/lisp/*.map target/lisp/*.nm
+ insinto /usr/lib/cmucl
+ cp target/lisp/lisp.core lisp-dist.core
+ doins lisp-dist.core
+
+ dodoc target/lisp/lisp.{nm,map}
+ doman src/general-info/{cmucl,lisp}.1
+
+ dobin target/lisp/lisp
+ dobin own-work/Demos/lisp-start
+
+ insinto /usr/lib/cmucl
+ doins own-work/install-clc.lisp
+ exeinto /usr/lib/common-lisp/bin
+ cp own-work/cmucl-script.sh cmucl.sh
+ doexe cmucl.sh
+
+ insinto /etc/common-lisp/cmucl
+ sed "s,@PF@,${PF},g" <${FILESDIR}/${PV}/site-init.lisp.in >site-init.lisp
+ doins site-init.lisp
+ dosym /etc/common-lisp/cmucl/site-init.lisp /usr/lib/cmucl/site-init.lisp
+
+ dodir /etc/env.d
+ cat >${D}/etc/env.d/50cmucl <<EOF
+# CMUCLLIB=/usr/lib/cmucl
+EOF
+ [ -f /etc/lisp-config.lisp ] || touch ${D}/etc/lisp-config.lisp
+
+ insinto /usr/share/doc/${P}/html/Basic-tutorial
+ doins own-work/tutorials/Basic-tutorial/*
+ insinto /usr/share/doc/${P}/html/Clos
+ doins own-work/tutorials/Clos/*
+ docinto notes
+ dodoc own-work/tutorials/notes/*
+
+ insinto /usr/lib/cmucl
+ doins own-work/hemlock11.*
+
+ if use doc; then
+ dodoc src/docs/*/*.{ps,pdf}
+ fi
+
+ exeinto /usr/lib/cmucl
+ doexe target/motif/server/motifd
+ insinto /usr/lib/cmucl/subsystems/
+ doins target/interface/clm-library.x86f
+
+ keepdir /usr/lib/common-lisp/cmucl
+ impl-save-timestamp-hack cmucl || die
+}
+
+pkg_postinst() {
+ standard-impl-postinst cmucl
+}
+
+pkg_prerm() {
+ standard-impl-postrm cmucl /usr/bin/lisp
+}
diff --git a/dev-lisp/cmucl/files/digest-cmucl-18e-r4 b/dev-lisp/cmucl/files/digest-cmucl-18e-r4
new file mode 100644
index 000000000000..755469c77d76
--- /dev/null
+++ b/dev-lisp/cmucl/files/digest-cmucl-18e-r4
@@ -0,0 +1,2 @@
+MD5 79384e120d128e8ea48dd414bfbff4cc cmucl_18e-8.tar.gz 6305420
+MD5 695f4a6abc5af6276f776a9739c2c7e7 cmucl-18e-x86-linux.tar.bz2 6404635
diff --git a/dev-lisp/cmucl/metadata.xml b/dev-lisp/cmucl/metadata.xml
index f418045b09c8..d53af4265cf3 100644
--- a/dev-lisp/cmucl/metadata.xml
+++ b/dev-lisp/cmucl/metadata.xml
@@ -2,4 +2,28 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>common-lisp</herd>
+<longdescription>
+CMUCL is a free implementation of the Common Lisp programming language
+which runs on most major Unix platforms. It mainly conforms to the
+ANSI Common Lisp standard. Here is a summary of its main features:
+
+ * a sophisticated native-code compiler which is capable of powerful
+ type inferences, and generates code competitive in speed with C
+ compilers.
+
+ * generational garbage collection and multiprocessing capability on
+ the x86 ports.
+
+ * a foreign function interface which allows interfacing with C code
+ and system libraries, including shared libraries on most platforms,
+ and direct access to Unix system calls.
+
+ * support for interprocess communication and remote procedure calls.
+
+ * an implementation of CLOS, the Common Lisp Object System, which
+ includes multimethods and a metaobject protocol.
+
+ * a graphical source-level debugger using a Motif interface, and a
+ code profiler.
+</longdescription>
</pkgmetadata>