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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Apr 13 05:53:55 2013 UTC (17 months ago) by qnikst
Branch: MAIN
Changes since 1.1: +6 -2 lines
fixing test failure #423049

(Portage version: 2.2.0_alpha172/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!)

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.1.1.ebuild,v 1.1 2012/11/25 06:09:58 gienah Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.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/parsec-3:=[profile?]
22 dev-haskell/syb:=[profile?]
23 dev-haskell/xml:=[profile?]
24 >=dev-lang/ghc-6.10.4:=
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_prepare() {
34 epatch "${FILESDIR}/01-${PN}-locale.patch"
35 }
36
37 src_configure() {
38 cabal_src_configure \
39 $(cabal_flag cgi) \
40 $(cabal_flag test)
41 }
42
43 src_install() {
44 cabal_src_install
45
46 # remove test and it's data
47 rm -f "${ED}/usr/bin/texmath" 2> /dev/null
48 rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
49 }

  ViewVC Help
Powered by ViewVC 1.1.20