# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: # Ebuild contributed by: Adam Peacock, apeacock@swiftdsl.com.au inherit flag-o-matic DESCRIPTION="Munster Curry compiler" # BIG NOTE: This is incorrect spelling of Mu"nster which affects the # pronunciation. The reason we have to use a 'u' instead of a 'u"' # is that I doubt whether Gentoo users have ISO Lantin-1 # compiled/configured into their terminals. HOMEPAGE="http://danae.uni-muenster.de/~lux/curry/" SRC_URI="http://danae.uni-muenster.de/~lux/curry/download/curry-0.9.8/curry-0.9.8.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RESTRICT="nomirror" DEPEND="virtual/ghc >=sys-devel/gcc-3.3.4-r1" RDEPEND="dev-libs/gmp sys-devel/gcc" src_unpack() { unpack ${A} cd ${S} } src_compile() { filter-flags "-O3 -finline-function" econf --enable-trampoline || die "could not configure" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die }