# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit flag-o-matic eutils libtool DESCRIPTION="Scheme interpreter" HOMEPAGE="http://www.gnu.org/software/guile/" SRC_URI="mirror://gnu/guile/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" DEPEND=">=dev-libs/gmp-4.1 >=sys-devel/libtool-1.5.6" # NOTE: in README-PACKAGERS, guile recommends different versions be installed # in parallel. They're talking about LIBRARY MAJOR versions and not # the actual guile version that was used in the past. # #didn't find that file -- Marijn # # So I'm slotting this as 17 beacuse of the library major version SLOT="17" MAJOR="1.8" IUSE="" src_compile() { econf --with-threads --with-modules emake || die "make failed" } src_install() { einstall || die "install failed" dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README SNAPSHOTS THANKS dodir /etc/env.d # We don't slot the env.d entry because /usr/bin/guile-config is # there anyway, and will only match the last guile installed. # so the GUILE_LOAD_PATH will match the data available from guile-config. echo "GUILE_LOAD_PATH=\"/usr/share/guile/${MAJOR}\"" > ${D}/etc/env.d/50guile echo "GUILE_WARN_DEPRECATED=\"no\"" >> ${D}/etc/env.d/50guile }