blob: 4846a6892fb29c9805a0d29a65d96917806a6679 (
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
33
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/uuagc/uuagc-0.9.5.ebuild,v 1.1 2007/12/13 17:29:17 dcoutts Exp $
CABAL_FEATURES="bin"
inherit haskell-cabal
DESCRIPTION="The Utrecht University Attribute Grammar system"
HOMEPAGE="http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem"
SRC_URI="http://abaris.zoo.cs.uu.nl:8080/wiki/pub/HUT/Download/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=">=dev-lang/ghc-6.6
>=dev-haskell/uulib-0.9.2"
src_unpack() {
unpack "${A}"
sed -i -e '/Extensions:/a \
, MultiParamTypeClasses' \
"${S}/uuagc.cabal"
# Add in the extra split-base deps
if version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e '/Build-Depends:/a \
,containers, directory, array, bytestring' \
"${S}/uuagc.cabal"
fi
}
|