# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.4.6.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal MY_PN="OpenCLWrappers" MY_P="${MY_PN}-${PV}" DESCRIPTION="The OpenCL Standard for heterogeneous data-parallel computing" HOMEPAGE="https://github.com/jkarlson/OpenCLWrappers" SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="link" RDEPEND=">=dev-haskell/mtl-2:=[profile?] =dev-lang/ghc-7.4.1:= virtual/opencl " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.2 " S="${WORKDIR}/${MY_P}" src_prepare() { default cabal_chdeps \ 'base < 4.8' 'base' } src_configure() { haskell-cabal_src_configure \ $(cabal_flag link link) }