summaryrefslogtreecommitdiff
blob: 784fe2c8fed7d1523e0e117d0eb86674b0f2012b (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.1 2012/01/23 09:34:08 gienah 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="http://hackage.haskell.org/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"