# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:  $

# ebuild generated by hackport 0.2.9

CABAL_FEATURES="bin"
inherit haskell-cabal

DESCRIPTION="UDisks helper program - events monitor"
HOMEPAGE="http://github.com/dpx-infinity/udisksevt/"
SRC_URI="http://github.com/downloads/dpx-infinity/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.2
		>=dev-haskell/dbus-client-0.4
		>=dev-haskell/dbus-core-0.8
		dev-haskell/monads-tf
		>=dev-haskell/parsec-2.1
		dev-haskell/stm
		dev-haskell/text
		dev-haskell/transformers
		>=dev-lang/ghc-6.12.1"

src_prepare() {
	sed -i -e "s/parsec>=2.1 && <3/parsec>=2.1/" \
		"${S}/${PN}.cabal" \
		|| die "Could not loosen deps on parsec"
}
