# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/zlib/zlib-0.5.3.2.ebuild,v 1.1 2012/01/23 09:21:21 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 gzip and zlib formats" HOMEPAGE="http://hackage.haskell.org/package/zlib" SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos" IUSE="" RDEPEND=">=dev-lang/ghc-6.8.2 sys-libs/zlib" DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6" # Workaround this error when compiling with ghc 7.0.4: # Stream.hsc:86:21: error: missing binary operator before token "(" CABAL_EXTRA_CONFIGURE_FLAGS="--hsc2hs-options=--include=${S}/dist/build/autogen/cabal_macros.h"