/[gentoo-x86]/dev-haskell/uuagc/uuagc-0.9.5.ebuild
Gentoo

Contents of /dev-haskell/uuagc/uuagc-0.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 12 13:41:29 2010 UTC (4 years ago) by slyfox
Branch: MAIN
Changes since 1.1: +5 -4 lines
Fixed bug #227517 (missing dev-haskell/mtl dep). Restored ~ppc64 for newer versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/uuagc/uuagc-0.9.5.ebuild,v 1.1 2007/12/13 17:29:17 dcoutts Exp $
4
5 CABAL_FEATURES="bin"
6 inherit haskell-cabal
7
8 DESCRIPTION="The Utrecht University Attribute Grammar system"
9 HOMEPAGE="http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem"
10 SRC_URI="http://abaris.zoo.cs.uu.nl:8080/wiki/pub/HUT/Download/${P}-src.tar.gz"
11 LICENSE="GPL-2"
12 SLOT="0"
13
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE=""
16
17 DEPEND=">=dev-lang/ghc-6.6
18 dev-haskell/mtl
19 >=dev-haskell/uulib-0.9.2"
20
21 src_unpack() {
22 unpack ${A}
23
24 sed -i -e '/Extensions:/a \
25 , MultiParamTypeClasses' \
26 "${S}/uuagc.cabal"
27
28 # Add in the extra split-base deps
29 if version_is_at_least "6.8" "$(ghc-version)"; then
30 sed -i -e '/Build-Depends:/a \
31 ,containers, directory, array, bytestring' \
32 "${S}/uuagc.cabal"
33 fi
34 }

  ViewVC Help
Powered by ViewVC 1.1.20