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