diff options
-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 | ||||
-rw-r--r-- | media-libs/sdl-image/files/digest-sdl-image-1.2.0 | 1 | ||||
-rw-r--r-- | media-libs/sdl-image/sdl-image-1.2.0.ebuild | 36 |
9 files changed, 199 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/ + +} diff --git a/media-libs/sdl-image/files/digest-sdl-image-1.2.0 b/media-libs/sdl-image/files/digest-sdl-image-1.2.0 new file mode 100644 index 000000000000..33b12ad791bc --- /dev/null +++ b/media-libs/sdl-image/files/digest-sdl-image-1.2.0 @@ -0,0 +1 @@ +MD5 4da2392d748dc86ddc52a72b50d77f4a SDL_image-1.2.0.tar.gz diff --git a/media-libs/sdl-image/sdl-image-1.2.0.ebuild b/media-libs/sdl-image/sdl-image-1.2.0.ebuild new file mode 100644 index 000000000000..838748a072a2 --- /dev/null +++ b/media-libs/sdl-image/sdl-image-1.2.0.ebuild @@ -0,0 +1,36 @@ +# 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: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.0.ebuild,v 1.1 2001/08/12 13:26:02 karltk Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="SDL-image is an image file loading library" + +SRC_URI="http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.0.tar.gz" + +HOMEPAGE="http://www.libsdl.org/projects/SDL_image/index.html" + +#build-time dependencies +DEPEND="virtual/glibc + >=media-libs/libpng-1.0 + >=media-libs/jpeg-6b + >=media-libs/libsdl-1.2" + +src_unpack() { + cd ${WORKDIR} + unpack SDL_image-1.2.0.tar.gz + mv SDL_image-1.2.0 ${P} +} + +src_compile() { + + try ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} + try emake +} + +src_install () { + # try make prefix=${D}/usr install + try make DESTDIR=${D} install +} + |