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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Nov 24 19:33:55 2013 UTC (17 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #488750

(Portage version: 2.2.1/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 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.4.ebuild,v 1.2 2013/11/05 11:53:56 chainsaw Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.3.9999
8
9 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
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/${PV}"
18 KEYWORDS="amd64 x86"
19 IUSE="cgi test"
20
21 RDEPEND="dev-haskell/pandoc-types:=[profile?]
22 >=dev-haskell/parsec-3:=[profile?]
23 dev-haskell/syb:=[profile?]
24 dev-haskell/xml:=[profile?]
25 >=dev-lang/ghc-6.10.4:=
26 cgi? ( dev-haskell/cgi:=[profile?]
27 dev-haskell/json:=[profile?]
28 dev-haskell/utf8-string:=[profile?] )
29 "
30 DEPEND="${RDEPEND}
31 >=dev-haskell/cabal-1.6.0.3
32 "
33
34 src_configure() {
35 haskell-cabal_src_configure \
36 $(cabal_flag cgi cgi) \
37 $(cabal_flag test test)
38 }
39
40 src_install() {
41 cabal_src_install
42
43 # remove test and it's data
44 rm -f "${ED}/usr/bin/texmath" 2> /dev/null
45 rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
46 }

  ViewVC Help
Powered by ViewVC 1.1.20