| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/frown/frown-0.6.1-r1.ebuild,v 1.12 2007/12/13 18:01:45 dcoutts Exp $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
|
| 7 |
CABAL_FEATURES="bin" |
| 8 |
inherit haskell-cabal |
| 9 |
|
| 10 |
DESCRIPTION="A parser generator for Haskell" |
| 11 |
HOMEPAGE="http://www.informatik.uni-bonn.de/~ralf/frown/" |
| 12 |
SRC_URI="http://www.informatik.uni-bonn.de/~ralf/frown/${P}.tar.gz" |
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="amd64 ppc ppc64 sparc x86" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
DEPEND=">=dev-lang/ghc-6.2.2" |
| 19 |
RDEPEND="" |
| 20 |
|
| 21 |
S="${WORKDIR}/Frown-${PV}" |
| 22 |
|
| 23 |
src_prepare() { |
| 24 |
# enabling optimisation is strongly recommended |
| 25 |
echo "ghc-options: -O" >> "${S}/frown.cabal" |
| 26 |
epatch "${FILESDIR}/${P}-ghc74.patch" |
| 27 |
} |
| 28 |
|
| 29 |
src_install() { |
| 30 |
cabal_src_install |
| 31 |
dohtml -r Manual/html |
| 32 |
dodoc COPYRIGHT Manual/Manual.ps |
| 33 |
} |