diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-02-17 21:47:26 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-02-17 21:47:26 +0000 |
commit | 8faf0abecc89d75cc8fca443f1116ca917b3220b (patch) | |
tree | 62cd79f1a9b98a92468d5160130e94777fe9a1a8 /dev-lisp/mzscheme/mzscheme-103_pre1.ebuild | |
parent | Added ebuild for geotrace (diff) | |
download | gentoo-2-8faf0abecc89d75cc8fca443f1116ca917b3220b.tar.gz gentoo-2-8faf0abecc89d75cc8fca443f1116ca917b3220b.tar.bz2 gentoo-2-8faf0abecc89d75cc8fca443f1116ca917b3220b.zip |
MzScheme 103_pre1
Diffstat (limited to 'dev-lisp/mzscheme/mzscheme-103_pre1.ebuild')
-rw-r--r-- | dev-lisp/mzscheme/mzscheme-103_pre1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-lisp/mzscheme/mzscheme-103_pre1.ebuild b/dev-lisp/mzscheme/mzscheme-103_pre1.ebuild new file mode 100644 index 000000000000..cec0cd250d93 --- /dev/null +++ b/dev-lisp/mzscheme/mzscheme-103_pre1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mzscheme/mzscheme-103_pre1.ebuild,v 1.1 2002/02/17 21:47:26 karltk Exp $ + +S=${WORKDIR}/plt +DESCRIPTION="MzScheme scheme compiler" +SRC_URI="http://www.cs.rice.edu/CS/PLT/packages/download/103p1/mzscheme/mzscheme.src.unix.tar.gz" +HOMEPAGE="http://www.cs.rice.edu/CS/PLT/packages/mzscheme/" + +DEPEND="" +#RDEPEND="" + +src_compile() { + cd src + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} + +src_install () { + cd src + make DESTDIR=${D} install || die + + cd ${S} + dodir /usr/share/mzscheme + dobin bin/* + cp -dpR collects/* ${D}/usr/share/mzscheme + + doman man/man1/* + + dodoc notes/COPYING.LIB + dodoc README + + exeinto /usr/bin + newexe src/mzscheme/mzscheme mzscheme-bin + + echo "#! /bin/sh" > ${D}/usr/bin/mzc + echo '/usr/bin/mzscheme-bin -mqvL start.ss compiler -- ${1+"$@"}' >> ${D}/usr/bin/mzc + + echo "#! /bin/sh" > ${D}/usr/bin/mzscheme + echo '/usr/bin/mzscheme-bin ${1+"$@"}' >> ${D}/usr/bin/mzscheme + + rm ${D}/usr/bin/{archsys,setup-plt} +} |