summaryrefslogtreecommitdiff
blob: e19d55c987d7ad5c67caa89d9cd2fff84bbf4854 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bzlib/bzlib-0.5.0.2.ebuild,v 1.2 2012/09/12 15:14:36 qnikst Exp $

# ebuild generated by hackport 0.2.14

EAPI="3"

CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal

DESCRIPTION="Compression and decompression in the bzip2 format"
HOMEPAGE="http://hackage.haskell.org/package/bzlib"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""

RDEPEND=">=dev-lang/ghc-6.8.2
		>=app-arch/bzip2-1.0"
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.6"

# Workaround this error when compiling with ghc 7.0.4:
# Stream.hsc:62:21: error: missing binary operator before token "("
CABAL_EXTRA_CONFIGURE_FLAGS="--hsc2hs-options=--include=${S}/dist/build/autogen/cabal_macros.h"