You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.6 KiB
53 lines
1.6 KiB
11 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/citeproc-hs/citeproc-hs-0.3.8-r1.ebuild,v 1.1 2013/07/25 19:10:53 slyfox Exp $
|
||
11 years ago
|
|
||
|
EAPI=5
|
||
|
|
||
|
# ebuild generated by hackport 0.3.2.9999
|
||
|
|
||
|
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||
11 years ago
|
inherit base haskell-cabal
|
||
11 years ago
|
|
||
|
DESCRIPTION="A Citation Style Language implementation in Haskell"
|
||
|
HOMEPAGE="http://gorgias.mine.nu/repos/citeproc-hs/"
|
||
|
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0/${PV}"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="+bibutils +hexpat +network +small_base embed_data_files"
|
||
|
|
||
11 years ago
|
RDEPEND="dev-haskell/json:=[generic,profile?]
|
||
11 years ago
|
dev-haskell/mtl:=[profile?]
|
||
|
>=dev-haskell/pandoc-types-1.8:=[profile?]
|
||
|
<dev-haskell/pandoc-types-1.11:=[profile?]
|
||
|
dev-haskell/parsec:=[profile?]
|
||
|
dev-haskell/syb:=[profile?]
|
||
|
dev-haskell/utf8-string:=[profile?]
|
||
|
>=dev-lang/ghc-6.12.1:=
|
||
|
bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?]
|
||
|
)
|
||
|
embed_data_files? ( dev-haskell/file-embed:=[profile?]
|
||
|
)
|
||
|
hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?]
|
||
|
)
|
||
|
network? ( >=dev-haskell/http-4000.0.9:=[profile?]
|
||
|
>=dev-haskell/network-2:=[profile?]
|
||
|
)
|
||
|
!hexpat? ( dev-haskell/xml:=[profile?]
|
||
|
)"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=dev-haskell/cabal-1.6"
|
||
|
|
||
11 years ago
|
PATCHES=("${FILESDIR}"/${P}-preproc.patch)
|
||
|
|
||
11 years ago
|
src_configure() {
|
||
|
haskell-cabal_src_configure \
|
||
|
$(cabal_flag small_base small_base) \
|
||
|
$(cabal_flag bibutils bibutils) \
|
||
|
$(cabal_flag network network) \
|
||
|
$(cabal_flag hexpat hexpat) \
|
||
|
$(cabal_flag embed_data_files embed_data_files)
|
||
|
}
|