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

CABAL_FEATURES="bin lib profile haddock hscolour"
inherit git haskell-cabal

DESCRIPTION="A fast syntax highlighting library built with alex."
HOMEPAGE="http://github.com/jgm/illuminate"
EGIT_REPO_URI="git://github.com/jgm/illuminate"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="executable"

RDEPEND=">=dev-lang/ghc-6.6.1
		dev-haskell/html
		dev-haskell/utf8-string
		dev-haskell/xhtml
		dev-haskell/hscolour
		dev-haskell/filemanip"
DEPEND="$RDEPEND
		>=dev-haskell/cabal-1.2
		dev-haskell/alex"

if use executable; then
    CABAL_CONFIGURE_FLAGS="--flags=executable"
fi
