blob: c1d1fe5ac4c054a46f988aa30f9d8c635281293f (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hxt/hxt-7.2.ebuild,v 1.2 2007/12/13 17:31:46 dcoutts 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=">=dev-lang/ghc-6.4.1
>=dev-haskell/http-2006.7.7
>=dev-haskell/hunit-1.1
>=dev-haskell/network-1.0"
S=${WORKDIR}/${MY_P}
src_unpack() {
base_src_unpack
sed -i \
-e 's/-O2/-O/' \
"${S}/hxt.cabal"
}
src_install() {
cabal_src_install
dodoc README
if use doc; then
cd "${S}/doc"
dodoc thesis.pdf
fi
}
|