/[gentoo-x86]/dev-haskell/texmath/texmath-0.5.0.1.ebuild
Gentoo

Contents of /dev-haskell/texmath/texmath-0.5.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 12 15:39:15 2012 UTC (19 months ago) by qnikst
Branch: MAIN
Changes since 1.1: +3 -3 lines
move dev-haskell/texmath/texmath-0.6.0.3.ebuild ebuild to mirror://hackage

(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)

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/texmath/texmath-0.5.0.1.ebuild,v 1.1 2011/04/23 16:27:48 slyfox Exp $
4
5 # ebuild generated by hackport 0.2.13
6
7 EAPI="3"
8
9 CABAL_FEATURES="bin lib profile haddock hscolour"
10 inherit haskell-cabal
11
12 DESCRIPTION="Conversion of LaTeX math formulas to MathML."
13 HOMEPAGE="http://github.com/jgm/texmath"
14 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="cgi test"
20
21 RDEPEND=">=dev-haskell/parsec-2
22 dev-haskell/syb
23 dev-haskell/xml
24 >=dev-lang/ghc-6.8.2
25 cgi? ( dev-haskell/json
26 dev-haskell/cgi
27 dev-haskell/utf8-string
28 )
29 "
30 DEPEND="${RDEPEND}
31 >=dev-haskell/cabal-1.2"
32
33 src_configure() {
34 cabal_src_configure \
35 $(cabal_flag cgi) \
36 $(cabal_flag test)
37 }
38
39 src_install() {
40 cabal_src_install
41
42 # remove test and it's data
43 rm -f "${ED}/usr/bin/texmath" 2> /dev/null
44 rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
45 }

  ViewVC Help
Powered by ViewVC 1.1.20