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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 22 22:27:10 2013 UTC (12 months, 4 weeks ago) by slyfox
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha182_p1/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.2.9999
8
9 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
10 inherit eutils 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/parsec-3:=[profile?]
22 dev-haskell/syb:=[profile?]
23 dev-haskell/xml:=[profile?]
24 >=dev-lang/ghc-6.10.4:=
25 cgi? ( dev-haskell/cgi:=[profile?]
26 dev-haskell/json:=[profile?]
27 dev-haskell/utf8-string:=[profile?]
28 )"
29 DEPEND="${RDEPEND}
30 >=dev-haskell/cabal-1.6"
31
32 src_prepare() {
33 epatch "${FILESDIR}/01-${PN}-locale.patch"
34 }
35
36 src_configure() {
37 haskell-cabal_src_configure \
38 $(cabal_flag cgi cgi) \
39 $(cabal_flag test test)
40 }
41
42 src_install() {
43 cabal_src_install
44
45 # remove test and it's data
46 rm -f "${ED}/usr/bin/texmath" 2> /dev/null
47 rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
48 }

  ViewVC Help
Powered by ViewVC 1.1.20