Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/ledit: ChangeLog ledit-2.01.ebuild
Date: Wed, 02 Jul 2008 19:13:43
Message-Id: E1KE7lp-0006hX-1F@stork.gentoo.org
1 aballier 08/07/02 19:13:37
2
3 Modified: ChangeLog
4 Added: ledit-2.01.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
8
9 Revision Changes Path
10 1.25 app-misc/ledit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/ledit/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/ledit/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/ledit/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/ledit/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 6 Apr 2008 19:53:37 -0000 1.24
23 +++ ChangeLog 2 Jul 2008 19:13:36 -0000 1.25
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-misc/ledit
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ledit/ChangeLog,v 1.24 2008/04/06 19:53:37 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ledit/ChangeLog,v 1.25 2008/07/02 19:13:36 aballier Exp $
29 +
30 +*ledit-2.01 (02 Jul 2008)
31 +
32 + 02 Jul 2008; Alexis Ballier <aballier@g.o> +ledit-2.01.ebuild:
33 + version bump
34
35 06 Apr 2008; Alexis Ballier <aballier@g.o>
36 -files/ledit-1.11-loc.patch, -ledit-1.11-r1.ebuild:
37
38
39
40 1.1 app-misc/ledit/ledit-2.01.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/ledit/ledit-2.01.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/ledit/ledit-2.01.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ledit-2.01.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-misc/ledit/ledit-2.01.ebuild,v 1.1 2008/07/02 19:13:36 aballier Exp $
50
51 inherit eutils
52
53 EAPI="1"
54
55 RESTRICT="installsources"
56 IUSE="+ocamlopt"
57
58 DESCRIPTION="A line editor to be used with interactive commands."
59 SRC_URI="http://pauillac.inria.fr/~ddr/ledit/distrib/src/${P}.tgz"
60 HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/"
61
62 DEPEND=">=dev-lang/ocaml-3.09 dev-ml/camlp5"
63 RDEPEND="${DEPEND}"
64
65 SLOT="0"
66 LICENSE="BSD"
67 KEYWORDS="~amd64 ~ppc ~x86"
68
69 pkg_setup() {
70 if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
71 eerror "In order to build ${PN} with native code support from ocaml"
72 eerror "You first need to have a native code ocaml compiler."
73 eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
74 die "Please install ocaml with ocamlopt useflag"
75 fi
76 }
77
78 src_compile()
79 {
80 emake -j1 all || die "make failed"
81 if use ocamlopt; then
82 emake -j1 ledit.opt || die "make failed"
83 else
84 # If using bytecode we dont want to strip the binary as it would remove the
85 # bytecode and only leave ocamlrun...
86 export STRIP_MASK="*/bin/*"
87 fi
88 }
89
90 src_install()
91 {
92 if use ocamlopt; then
93 newbin ledit.opt ledit
94 else
95 newbin ledit.out ledit
96 fi
97 doman ledit.1
98 dodoc CHANGES README
99 }
100
101
102
103 --
104 gentoo-commits@l.g.o mailing list