# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:	$

# ebuild generated by hackport 0.2.9

EAPI="2"
CABAL_FEATURES="lib profile haddock hscolour"
inherit haskell-cabal

DESCRIPTION="Combinators for building memo tables."
HOMEPAGE="http://github.com/luqui/data-memocombinators"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-haskell/data-inttrie
		>=dev-lang/ghc-6.8.1"
DEPEND="${RDEPEND}
		dev-haskell/cabal"

src_unpack() {
	unpack ${A}
	sed -e 's@base >= 3 && <= 4.1@base >= 3 \&\& <= 4.4@' -i "${S}/${PN}.cabal"
}
