# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/temporary/temporary-1.1.2.4.ebuild,v 1.4 2014/12/20 09:33:55 slyfox Exp $

EAPI=5

# ebuild generated by hackport 0.3.9999

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

DESCRIPTION="Portable temporary file and directory support for Windows and Unix, based on code from Cabal"
HOMEPAGE="http://www.github.com/batterseapower/temporary"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND=">=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.6"

src_prepare() {
	cabal_chdeps \
		'unix >= 2.3 && < 2.7' 'unix >= 2.3'
}