blob: afdc50c32caace614db34e70bb4f98eeb6ea00bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
CABAL_FEATURES="bin lib profile haddock"
inherit eutils haskell-cabal
DESCRIPTION="Attribute Grammar System of Universiteit Utrecht"
HOMEPAGE="http://www.cs.uu.nl/wiki/HUT/WebHome"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""
HASKELLDEPS="dev-haskell/cabal
>=dev-haskell/uulib-0.9.12"
RDEPEND=">=dev-lang/ghc-6.10
${HASKELLDEPS}"
DEPEND=">=dev-haskell/cabal-1.2
${RDEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
epatch "${FILESDIR}"/${P}-ghc-7.8.patch
sed \
-e 's/{-# LINE/{- # LINE/g' \
-i "${S}"/src-derived/*.hs
}
|