# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-postgresql/hsql-postgresql-1.7.3.ebuild,v 1.3 2010/07/12 15:49:30 slyfox Exp $ CABAL_FEATURES="lib profile haddock" inherit base haskell-cabal versionator DESCRIPTION="A Haskell Interface to PostgreSQL via the PQ library." HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsql-postgresql" SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" RDEPEND=">=dev-lang/ghc-6.6.1 >=dev-haskell/hsql-$(get_version_component_range 1-2 ${PV}) dev-db/postgresql-base" DEPEND="${RDEPEND} dev-haskell/cabal" PATCHES=( "${FILESDIR}/${P}-ghc68.patch" )