Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/hevea: ChangeLog hevea-1.10.ebuild
Date: Wed, 02 Jan 2008 22:19:20
Message-Id: E1JABvY-0000qq-Ke@stork.gentoo.org
1 aballier 08/01/02 22:19:08
2
3 Modified: ChangeLog
4 Added: hevea-1.10.ebuild
5 Log:
6 Version bump and add support to not build with ocamlopt
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.15 dev-tex/hevea/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/hevea/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 30 Aug 2007 13:30:59 -0000 1.14
23 +++ ChangeLog 2 Jan 2008 22:19:08 -0000 1.15
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-tex/hevea
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.14 2007/08/30 13:30:59 phreak Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.15 2008/01/02 22:19:08 aballier Exp $
30 +
31 +*hevea-1.10 (02 Jan 2008)
32 +
33 + 02 Jan 2008; Alexis Ballier <aballier@g.o> +hevea-1.10.ebuild:
34 + Version bump and add support to not build with ocamlopt
35
36 30 Aug 2007; Christian Heim <phreak@g.o> metadata.xml:
37 Removing mattam from metadata due to his retirement (see #30021 for reference).
38
39
40
41 1.1 dev-tex/hevea/hevea-1.10.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/hevea/hevea-1.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/hevea/hevea-1.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hevea-1.10.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/hevea-1.10.ebuild,v 1.1 2008/01/02 22:19:08 aballier Exp $
51
52 inherit eutils multilib
53
54 EAPI="1"
55
56 IUSE="+ocamlopt"
57
58 DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator"
59 HOMEPAGE="http://pauillac.inria.fr/~maranget/hevea/"
60 SRC_URI="ftp://ftp.inria.fr/INRIA/moscova/hevea/${P}.tar.gz"
61
62 LICENSE="QPL"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
65
66 DEPEND=">=dev-lang/ocaml-3.07"
67
68 pkg_setup() {
69 if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
70 eerror "In order to build ${PN} with native code support from ocaml"
71 eerror "You first need to have a native code ocaml compiler."
72 eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
73 die "Please install ocaml with ocamlopt useflag"
74 fi
75 }
76
77 src_compile() {
78 rm -f config.sh
79 emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/$(get_libdir)/hevea" config.sh || die "Failed to create config.sh"
80 if use ocamlopt; then
81 emake PREFIX=/usr || die "Failed to build native code binaries"
82 else
83 emake PREFIX=/usr TARGET=byte || die "Failed to build bytecode binaries"
84 fi
85 }
86
87 src_install() {
88 if use ocamlopt; then
89 emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed"
90 else
91 emake DESTDIR="${D}" PREFIX=/usr TARGET=byte install || die "Install failed"
92 fi
93
94 doenvd "${FILESDIR}"/99hevea
95
96 dodoc README CHANGES
97 }
98
99
100
101 --
102 gentoo-commits@g.o mailing list