| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI=5
|
| 6 |
|
| 7 |
# ebuild generated by hackport 0.3.9999
|
| 8 |
|
| 9 |
WX_GTK_VER="2.8"
|
| 10 |
|
| 11 |
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
| 12 |
inherit base haskell-cabal
|
| 13 |
|
| 14 |
DESCRIPTION="helper tool for building wxHaskell"
|
| 15 |
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
|
| 16 |
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
| 17 |
|
| 18 |
LICENSE="BSD"
|
| 19 |
SLOT="${WX_GTK_VER}/${PV}"
|
| 20 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
| 21 |
IUSE=""
|
| 22 |
|
| 23 |
RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?]
|
| 24 |
<dev-haskell/parsec-4:=[profile?]
|
| 25 |
>=dev-haskell/strict-0.3:=[profile?]
|
| 26 |
<dev-haskell/strict-1.0:=[profile?]
|
| 27 |
>=dev-lang/ghc-6.10.4:="
|
| 28 |
DEPEND="${RDEPEND}
|
| 29 |
>=dev-haskell/cabal-1.2"
|
| 30 |
|
| 31 |
PATCHES=("${FILESDIR}/${PN}-0.13.1.2-ghc-7.6.patch")
|
| 32 |
|
| 33 |
src_prepare() {
|
| 34 |
base_src_prepare
|
| 35 |
sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
|
| 36 |
-i "${S}/${PN}.cabal" \
|
| 37 |
|| die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
|
| 38 |
}
|