Gentoo Development Guide

HASKELL-CABAL.ECLASS

NAME

haskell-cabal.eclass - for packages that make use of the Haskell Common Architecture for Building Applications and Libraries (cabal)

DESCRIPTION

Basic instructions:

Before inheriting the eclass, set CABAL_FEATURES to
reflect the tools and features that the package makes
use of.

Currently supported features:
haddock -- for documentation generation
hscolour -- generation of colourised sources
hoogle -- generation of documentation search index
profile -- if package supports to build profiling-enabled libraries
bootstrap -- only used for the cabal package itself
lib -- the package installs libraries
nocabaldep -- don't add dependency on cabal.
only used for packages that _must_ not pull the dependency
on cabal, but still use this eclass (e.g. haskell-updater).
ghcdeps -- constraint dependency on package to ghc onces
only used for packages that use libghc internally and _must_
not pull upper versions
test-suite -- add support for cabal test-suites (introduced in Cabal-1.8)