# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/monad-control/monad-control-0.3.2.ebuild,v 1.2 2013/07/21 17:32:12 ottxor Exp $ EAPI=5 # ebuild generated by hackport 0.3.2.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Lift control operations, like exception catching, through monad transformers" HOMEPAGE="https://github.com/basvandijk/monad-control" SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86 ~amd64-linux" IUSE="+instancest" RDEPEND=">=dev-haskell/base-unicode-symbols-0.1.1:=[profile?] =dev-haskell/transformers-0.2:=[profile?] =dev-haskell/transformers-base-0.4.1:=[profile?] =dev-lang/ghc-6.10.4:=" DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6" src_prepare() { cabal_chdeps \ 'base >= 3 && < 4.7' 'base >= 3 && < 5.0' } src_configure() { haskell-cabal_src_configure \ $(cabal_flag instancest instancest) }