diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-08-12 13:26:02 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-08-12 13:26:02 +0000 |
commit | 64b00641fdd2c4c9a44b6a34c82dd7c127f13eac (patch) | |
tree | 379ac40a9c677297f3ef229dc9ed1e2150e71b4d /dev-lisp | |
parent | fixed symlinks. (diff) | |
download | gentoo-2-64b00641fdd2c4c9a44b6a34c82dd7c127f13eac.tar.gz gentoo-2-64b00641fdd2c4c9a44b6a34c82dd7c127f13eac.tar.bz2 gentoo-2-64b00641fdd2c4c9a44b6a34c82dd7c127f13eac.zip |
Initial import
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/ecls/ecls-0.2.ebuild | 63 | ||||
-rw-r--r-- | dev-lisp/ecls/files/digest-ecls-0.2 | 1 | ||||
-rw-r--r-- | dev-lisp/ecls/files/digest-ecls-0.3 | 1 | ||||
-rw-r--r-- | dev-lisp/gcl/files/digest-gcl-2.4.0 | 1 | ||||
-rw-r--r-- | dev-lisp/gcl/gcl-2.4.0.ebuild | 43 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-0.6.12 | 2 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-0.6.12.ebuild | 51 |
7 files changed, 162 insertions, 0 deletions
diff --git a/dev-lisp/ecls/ecls-0.2.ebuild b/dev-lisp/ecls/ecls-0.2.ebuild new file mode 100644 index 000000000000..c335a4cb2c8f --- /dev/null +++ b/dev-lisp/ecls/ecls-0.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $header:$ + +S=${WORKDIR}/${P} +DESCRIPTION="Embeddable Common Lisp 'Spain'" +SRC_URI="http://prdownloads.sourceforge.net/ecls/ecls-0.2.tgz" + +PROVIDE="virtual/commonlisp" + +src_unpack() { + + unpack ${P}.tgz + +# mv ${WORKDIR}/ecls-0.2 ${S} +} + +src_compile() { + + local myconf + + cd ${S} + + if [ "`use X`" ] + then + myopts="${myconf} --with-x" + else + myopts="${myconf} --with-x=no" + fi + + echo ${CXXFLAGS} ${CFLAGS} ${LSPCFLAGS} + try ./configure --prefix=/usr $myopts + + # + # FIXME: This really needs to be triple-verified + # + local mcpu=`echo ${CFLAGS} | sed "s/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/g"` + local march=`echo ${CFLAGS} | sed "s/.*-march=\([a-zA-Z0-9]*\).*/\1/g"` + + echo ${mcpu} -- ${march} + + for i in build/{crs,c,gc,tk,.}/Makefile ; do + cp $i $i.orig ; + cat $i.orig | sed -e "s:-mcpu= 1:-mcpu=${mcpu}:g" | sed -e "s:-march= 1:-march=${march}:g" > $i ; + done + + cp build/gabriel/Makefile build/gabriel/Makefile.orig + cat build/gabriel/Makefile.orig | sed "s/FILES =.*/FILES = ECLSc ECLSi/g" > build/gabriel/Makefile + + touch LGPL + + alias lisp='echo NOT INSTALLED!' + echo ${CXXFLAGS} ${CFLAGS} + try make + +} + +src_install() { + + try make install PREFIX=${D}/usr + +} diff --git a/dev-lisp/ecls/files/digest-ecls-0.2 b/dev-lisp/ecls/files/digest-ecls-0.2 new file mode 100644 index 000000000000..8c644b12f7da --- /dev/null +++ b/dev-lisp/ecls/files/digest-ecls-0.2 @@ -0,0 +1 @@ +MD5 6ecaa338c3a3224a172719eeac77d2e1 ecls-0.2.tgz diff --git a/dev-lisp/ecls/files/digest-ecls-0.3 b/dev-lisp/ecls/files/digest-ecls-0.3 new file mode 100644 index 000000000000..b3ad05e17aa4 --- /dev/null +++ b/dev-lisp/ecls/files/digest-ecls-0.3 @@ -0,0 +1 @@ +MD5 7ba12dbd9e30f9ceb1f8091190426abd ecls.tgz diff --git a/dev-lisp/gcl/files/digest-gcl-2.4.0 b/dev-lisp/gcl/files/digest-gcl-2.4.0 new file mode 100644 index 000000000000..0cfc1d8cb30f --- /dev/null +++ b/dev-lisp/gcl/files/digest-gcl-2.4.0 @@ -0,0 +1 @@ +MD5 86da3b0368e3cafd44d6ed809263c96b gcl-2.4.0.tgz diff --git a/dev-lisp/gcl/gcl-2.4.0.ebuild b/dev-lisp/gcl/gcl-2.4.0.ebuild new file mode 100644 index 000000000000..535ee4eb606f --- /dev/null +++ b/dev-lisp/gcl/gcl-2.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $header:$ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU Common Lisp" +SRC_URI="ftp://rene.ma.utexas.edu/pub/gcl/gcl-2.4.0.tgz" + +PROVIDE="virtual/commonlisp" + +src_compile() { + + cd ${S} ; echo `pwd` + try ./configure --prefix=/usr + + for i in */makefile makedefs makedefc makefile config.status ; do + mv $i $i.orig ; + cat $i.orig | sed -e 's:./configure\: emacs\: command not found:${prefix}/share/emacs/site-lisp/gcl:g' > $i + done + + cd ${S} + try make ${MAKEOPTS} + +} + +src_install() { + + dodir /usr/share/info + dodir /usr/share/emacs/site-lisp/gcl + + try make install prefix=${D}/usr MANDIR=${D}/usr/share/man + + mv ${D}/usr/lib/${P}/info/* ${D}/usr/share/info + rm ${D}/usr/share/info/texinfo.tex + rm ${D}/usr/share/emacs/site-lisp/gcl/default.el + + mv ${D}/usr/bin/gcl ${D}/usr/bin/gcl.orig + sed -e "s:${D}::g" < ${D}/usr/bin/gcl.orig > ${D}/usr/bin/gcl + rm ${D}/usr/bin/gcl.orig + + chmod 0755 ${D}/usr/bin/gcl +} diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.6.12 b/dev-lisp/sbcl/files/digest-sbcl-0.6.12 new file mode 100644 index 000000000000..11f3df2eb546 --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-0.6.12 @@ -0,0 +1,2 @@ +MD5 6d5f802852c45b9cbd249d5cb7237175 sbcl-0.6.12-linux-binary.tar.bz2 +MD5 29950dacd0436d6931ea57a5d51bd829 sbcl-0.6.12-source.tar.bz2 diff --git a/dev-lisp/sbcl/sbcl-0.6.12.ebuild b/dev-lisp/sbcl/sbcl-0.6.12.ebuild new file mode 100644 index 000000000000..2b4160ca0142 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-0.6.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $header:$ + +S=${WORKDIR}/${P} + +DESCRIPTION="SteelBank Common Lisp" + +SRC_URI="http://prdownloads.sourceforge.net/sbcl/${P}-source.tar.bz2 + http://prdownloads.sourceforge.net/sbcl/${P}-linux-binary.tar.bz2" + +HOMEPAGE="http://sbcl.sf.net/" + +PROVIDE="virtual/commonlisp" + +src_unpack() { + + cd ${S} + + unpack ${P}-linux-binary.tar.bz2 ; mv ${P} ${P}-binary + unpack ${P}-source.tar.bz2 +} + +src_compile() { + + export SBCL_HOME="../${P}-binary/output/" + export GNUMAKE="make" + try sh make.sh "../${P}-binary/src/runtime/sbcl" + + if which jade > /dev/null ; then + cd doc ; + try sh make-doc.sh ; + else + echo "Jade missing: Not building documentation" ; + fi +} + +src_install() { + + into /usr + + doman doc/sbcl.1 + dobin src/runtime/sbcl + + dodoc BUGS CREDITS NEWS README INSTALL COPYING + + dodir /usr/share/sbcl + cp output/sbcl.core ${D}/usr/share/sbcl/ + +} |