# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/glade/glade-0.12.5.0-r2.ebuild,v 1.1 2014/12/14 05:16:04 gienah Exp $ EAPI=5 # ebuild generated by hackport 0.3.5.9999 GTK_MAJ_VER="2" #nocabaldep is for the fancy cabal-detection feature at build-time CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" inherit haskell-cabal DESCRIPTION="Binding to the glade library" HOMEPAGE="http://projects.haskell.org/gtk2hs/" SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="${GTK_MAJ_VER}/${PV}" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-haskell/glib-0.12.5.0:0=[profile?] =dev-haskell/gtk-0.12.5.0:${GTK_MAJ_VER}=[profile?] =dev-lang/ghc-6.10.4:= gnome-base/libglade:2.0 " DEPEND="${RDEPEND} >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0= virtual/pkgconfig " src_prepare() { cabal_chdeps \ 'glib >= 0.12.5.0 && < 0.13' 'glib >= 0.12.5.0 && < 0.14' \ 'gtk >= 0.12.5.0 && < 0.13' 'gtk >= 0.12.5.0 && < 0.14' }