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

EAPI=5

# ebuild generated by hackport 0.3.2.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal

DESCRIPTION="Labeled IO Information Flow Control Library"
HOMEPAGE="http://hackage.haskell.org/package/lio"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="tolabeled"

RDEPEND=">=dev-haskell/binary-0.5.0.0:=[profile?]
		>=dev-haskell/sha-1.5.0.0:=[profile?]
		>=dev-haskell/transformers-0.2.2:=[profile?]
		>=dev-haskell/xattr-0.6.1:=[profile?]
		>=dev-haskell/zlib-0.5.3.1:=[profile?]
		>=dev-lang/ghc-7.4.1:="
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.8"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag tolabeled tolabeled)
}