# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.13.ebuild,v 1.4 2004/06/24 22:15:05 agriffis Exp $ DESCRIPTION="A yacc-like parser generator for Haskell" HOMEPAGE="http://haskell.org/happy/" SRC_URI="http://haskell.cs.yale.edu/happy/dist/1.13/happy-1.13-src.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="virtual/ghc" RDEPEND="" src_unpack() { unpack ${A} bzcat ${FILESDIR}/happy-1.13-pragma.patch.bz2 | patch -p0 } src_compile() { econf || die # "emake" does not work reliably. Probably due to the classic # dependency problem in make with parallel builds. make || die } src_install() { einstall || die }