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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 12 15:39:15 2012 UTC (23 months, 2 weeks ago) by qnikst
Branch: MAIN
Changes since 1.1: +2 -2 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.6.0.3.ebuild,v 1.1 2012/03/10 17:42:44 slyfox Exp $
4
5 # ebuild generated by hackport 0.2.13
6
7 EAPI="4"
8
9 CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
10 inherit haskell-cabal
11
12 DESCRIPTION="Conversion of LaTeX math formulas to MathML or OMML."
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[profile?]
22 dev-haskell/syb[profile?]
23 >=dev-haskell/xml-1.3.12[profile?]
24 >=dev-lang/ghc-6.8.2
25 cgi? ( dev-haskell/json[profile?]
26 dev-haskell/cgi[profile?]
27 dev-haskell/utf8-string[profile?]
28 )
29 "
30 DEPEND="${RDEPEND}
31 >=dev-haskell/cabal-1.6"
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