blob: 540263118c71c5c8e4efd1363dc7c86f2c046b94 (
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
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hxt/hxt-6.0.ebuild,v 1.1 2006/07/06 18:05:29 kolmodin Exp $
CABAL_FEATURES="lib profile haddock"
inherit base haskell-cabal
MY_PN="HXT"
MY_P=${MY_PN}-${PV}
DESCRIPTION="A collection of tools for processing XML with Haskell"
HOMEPAGE="http://www.fh-wedel.de/~si/HXmlToolbox/"
SRC_URI="http://www.fh-wedel.de/~si/HXmlToolbox/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/ghc-6.4
dev-haskell/http"
S=${WORKDIR}/${MY_P}
src_unpack() {
base_src_unpack
sed -i \
-e 's/, Browser//' \
-e 's/-O2/-O/' \
"${S}/hxt.cabal"
}
src_install() {
cabal_src_install
dodoc LICENSE README
if use doc; then
cd ${S}/doc
dodoc thesis.ps
dohtml -r *
fi
}
|