47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
|
# Copyright 1999-2018 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
# ebuild generated by hackport 0.5.6
|
||
|
|
||
|
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||
|
inherit haskell-cabal
|
||
|
|
||
|
DESCRIPTION="syntax highlighting library"
|
||
|
HOMEPAGE="https://github.com/jgm/skylighting"
|
||
|
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0/${PV}"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="executable system-pcre"
|
||
|
|
||
|
RDEPEND=">=dev-haskell/aeson-1.0:=[profile?]
|
||
|
>=dev-haskell/ansi-terminal-0.7:=[profile?]
|
||
|
dev-haskell/attoparsec:=[profile?]
|
||
|
dev-haskell/base64-bytestring:=[profile?]
|
||
|
>=dev-haskell/blaze-html-0.5:=[profile?]
|
||
|
dev-haskell/case-insensitive:=[profile?]
|
||
|
>=dev-haskell/colour-2.0:=[profile?]
|
||
|
dev-haskell/hxt:=[profile?]
|
||
|
dev-haskell/mtl:=[profile?]
|
||
|
dev-haskell/safe:=[profile?]
|
||
|
>=dev-haskell/skylighting-core-0.7.4:=[profile?] <dev-haskell/skylighting-core-0.7.5:=[profile?]
|
||
|
dev-haskell/text:=[profile?]
|
||
|
dev-haskell/utf8-string:=[profile?]
|
||
|
>=dev-lang/ghc-7.10.1:=
|
||
|
executable? ( dev-haskell/pretty-show:=[profile?] )
|
||
|
system-pcre? ( dev-haskell/regex-pcre:=[profile?] )
|
||
|
!system-pcre? ( dev-haskell/regex-pcre-builtin:=[profile?] )
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=dev-haskell/cabal-1.22.2.0
|
||
|
"
|
||
|
|
||
|
src_configure() {
|
||
|
haskell-cabal_src_configure \
|
||
|
$(cabal_flag executable executable) \
|
||
|
$(cabal_flag system-pcre system-pcre)
|
||
|
}
|