summaryrefslogtreecommitdiff
blob: ecae5b2f25021f0a27d3ba1f0aa3cfe363ca4ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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-haskell/parsec-4:=[profile?]
		dev-haskell/syb:=[profile?]
		dev-haskell/text:=[profile?]
		dev-haskell/utf8-string:=[profile?]
		dev-haskell/void:=[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)
}