Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ragel: ChangeLog ragel-6.6.ebuild
Date: Thu, 03 Dec 2009 20:53:55
Message-Id: E1NGIgS-00016R-SD@stork.gentoo.org
1 flameeyes 09/12/03 20:53:52
2
3 Modified: ChangeLog
4 Added: ragel-6.6.ebuild
5 Log:
6 Version bump; add a src_test function but restict them, since they need an ebuild that is not in Portage yet.
7 (Portage version: 2.2_rc55/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.30 dev-util/ragel/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ragel/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ragel/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ragel/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 3 Jul 2009 16:03:19 -0000 1.29
23 +++ ChangeLog 3 Dec 2009 20:53:52 -0000 1.30
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/ragel
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.29 2009/07/03 16:03:19 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.30 2009/12/03 20:53:52 flameeyes Exp $
29 +
30 +*ragel-6.6 (03 Dec 2009)
31 +
32 + 03 Dec 2009; Diego E. Pettenò <flameeyes@g.o> +ragel-6.6.ebuild:
33 + Version bump; add a src_test function but restict them, since they need an
34 + ebuild that is not in Portage yet.
35
36 03 Jul 2009; Diego E. Pettenò <flameeyes@g.o> -ragel-6.3.ebuild,
37 -ragel-6.4.ebuild, -files/ragel-6.4-solaris.patch:
38
39
40
41 1.1 dev-util/ragel/ragel-6.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ragel/ragel-6.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ragel/ragel-6.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ragel-6.6.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.6.ebuild,v 1.1 2009/12/03 20:53:52 flameeyes Exp $
51
52 DESCRIPTION="Compiles finite state machines from regular languages into executable code."
53 HOMEPAGE="http://www.complang.org/ragel/"
54 SRC_URI="http://www.complang.org/ragel/${P}.tar.gz"
55
56 LICENSE="GPL-2"
57 SLOT="0"
58 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
59 IUSE="vim-syntax"
60
61 DEPEND=""
62 RDEPEND=""
63
64 # We need to get the txl language in Portage to have the tests :(
65 RESTRICT=test
66
67 src_compile() {
68 econf --docdir=/usr/share/doc/${PF} || die "econf failed"
69 emake || die "emake failed"
70 }
71
72 src_test() {
73 cd "${S}"/test
74 ./runtests.in || die
75 }
76
77 src_install() {
78 emake DESTDIR="${D}" install || die "make install failed"
79 dodoc ChangeLog CREDITS README TODO || die "dodoc failed"
80
81 if use vim-syntax; then
82 insinto /usr/share/vim/vimfiles/syntax
83 doins ragel.vim || die "doins ragel.vim failed"
84 fi
85 }