# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: S=${WORKDIR}/plt DESCRIPTION="MzScheme scheme compiler" HOMEPAGE="http://www.plt-scheme.org/software/mzscheme/" #SRC_URI="http://download.plt-scheme.org/bundles/201/mzscheme/mzscheme.src.unix.tar.gz" SRC_URI="http://download.plt-scheme.org/bundles/${PV}/${PN}/${PN}.src.unix.tar.gz" # TODO - Since emerge looks for mzscheme.src.unix.tar.gz on liblio first, # it finds the old version and downloads it thinking it is the new one. # FIX - must manually download new version and place in # /usr/portage/distfiles DEPEND=">=sys-devel/gcc-2.95.3-r7" #RDEPEND="" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="x86" src_compile() { cd ${S}/src ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" make || die } src_install () { cd ${S}/src make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die cd ${S} dodoc README dodoc notes/COPYING.LIB dodoc notes/mzscheme/* }