# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hstringtemplate/hstringtemplate-0.7.1.ebuild,v 1.2 2014/07/25 09:16:39 slyfox Exp $ EAPI=5 # ebuild generated by hackport 0.3.2.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal MY_PN="HStringTemplate" MY_P="${MY_PN}-${PV}" DESCRIPTION="StringTemplate implementation in Haskell" HOMEPAGE="http://hackage.haskell.org/package/HStringTemplate" SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" IUSE="+quasi-quotation syb-with-class" RDEPEND="dev-haskell/blaze-builder:=[profile?] dev-haskell/deepseq:=[profile?] =dev-lang/ghc-7.4.1:= quasi-quotation? ( dev-haskell/mtl:=[profile?] ) syb-with-class? ( dev-haskell/syb-with-class:=[profile?] )" DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6" S="${WORKDIR}/${MY_P}" src_configure() { haskell-cabal_src_configure \ $(cabal_flag quasi-quotation quasi-quotation) \ $(cabal_flag syb-with-class syb-with-class) }