# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ CABAL_FEATURES="bin" inherit base bash-completion haskell-cabal eutils darcs DESCRIPTION="The command-line interface for Cabal and Hackage" HOMEPAGE="http://haskell.org/cabal" EDARCS_REPOSITORY="http://darcs.haskell.org/cabal-install" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" DEPEND=">=dev-lang/ghc-6.4 =dev-haskell/cabal-1.4* dev-haskell/filepath dev-haskell/network dev-haskell/http >=dev-haskell/zlib-0.4" src_install() { haskell-cabal_src_install dobashcompletion "${S}/bash-completion/cabal" } pkg_postinst() { ghc-package_pkg_postinst bash-completion_pkg_postinst }