blob: a1496c1425c17e5dfb64ff60e6d2bbb2b930ac41 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cpphs/cpphs-0.9.ebuild,v 1.2 2005/10/04 15:16:51 dcoutts Exp $
inherit eutils ghc-package
DESCRIPTION="A liberalised cpp-a-like preprocessor for Haskell"
HOMEPAGE="http://www.cs.york.ac.uk/fp/cpphs/"
SRC_URI="http://www.cs.york.ac.uk/fp/cpphs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~sparc"
IUSE=""
DEPEND=">=virtual/ghc-5.04"
src_compile() {
$(ghc-getghc) --make -O cpphs.hs -o cpphs \
|| die "ghc --make failed"
}
src_install() {
dobin ${S}/cpphs
dodoc README CHANGELOG
doman docs/cpphs.1
dohtml docs/index.html
}
|