Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/antlr-c: ChangeLog antlr-c-3.4.ebuild antlr-c-3.5.ebuild
Date: Thu, 28 Mar 2013 05:04:48
Message-Id: 20130328050444.21E372171D@flycatcher.gentoo.org
1 pinkbyte 13/03/28 05:04:44
2
3 Modified: ChangeLog
4 Added: antlr-c-3.4.ebuild antlr-c-3.5.ebuild
5 Log:
6 Version bump, wrt bug #428214
7
8 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
9
10 Revision Changes Path
11 1.5 dev-libs/antlr-c/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 3 Feb 2013 11:22:03 -0000 1.4
24 +++ ChangeLog 28 Mar 2013 05:04:43 -0000 1.5
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/antlr-c
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/ChangeLog,v 1.4 2013/02/03 11:22:03 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/ChangeLog,v 1.5 2013/03/28 05:04:43 pinkbyte Exp $
30 +
31 +*antlr-c-3.5 (28 Mar 2013)
32 +*antlr-c-3.4 (28 Mar 2013)
33 +
34 + 28 Mar 2013; Sergey Popov <pinkbyte@g.o> +antlr-c-3.4.ebuild,
35 + +antlr-c-3.5.ebuild:
36 + Version bump, wrt bug #428214
37
38 03 Feb 2013; Pacho Ramos <pacho@g.o> metadata.xml:
39 Cleanup due #333419
40
41
42
43 1.1 dev-libs/antlr-c/antlr-c-3.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/antlr-c-3.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/antlr-c-3.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: antlr-c-3.4.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/antlr-c-3.4.ebuild,v 1.1 2013/03/28 05:04:43 pinkbyte Exp $
53
54 EAPI="5"
55
56 AUTOTOOLS_AUTORECONF=1
57 AUTOTOOLS_IN_SOURCE_BUILD=1
58 inherit autotools-utils eutils
59
60 MY_P="antlr-${PV}"
61 DESCRIPTION="The ANTLR3 C Runtime"
62 HOMEPAGE="https://github.com/antlr/antlr3/tree/master/runtime/C"
63 SRC_URI="https://github.com/antlr/antlr3/archive/${MY_P}.tar.gz"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="debug debugger doc static-libs"
69
70 DEPEND="doc? ( app-doc/doxygen )"
71 RDEPEND=""
72
73 S="${WORKDIR}/antlr3-${MY_P}/runtime/C"
74
75 DOCS=( AUTHORS ChangeLog NEWS README )
76 PATCHES=( "${FILESDIR}/${PN}-3.3-cflags.patch" )
77
78 src_prepare() {
79 sed -i -e '/^QUIET/s/NO/YES/' doxyfile || die 'sed on doxyfile failed'
80
81 autotools-utils_src_prepare
82 }
83
84 src_configure() {
85 local myeconfargs=(
86 $(use_enable static-libs static)
87 $(use_enable debug debuginfo)
88 $(use_enable debugger antlrdebug)
89 )
90 if use amd64 || use ia64; then
91 myeconfargs+=( --enable-64bit )
92 else
93 myeconfargs+=( --disable-64bit )
94 fi
95
96 autotools-utils_src_configure
97 }
98
99 src_compile() {
100 autotools-utils_src_compile
101
102 if use doc; then
103 einfo "Generating documentation API ..."
104 doxygen -u doxyfile
105 doxygen doxyfile || die "doxygen failed"
106 fi
107 }
108
109 src_install() {
110 autotools-utils_src_install
111
112 if use doc; then
113 dohtml api/*
114 fi
115 }
116
117
118
119 1.1 dev-libs/antlr-c/antlr-c-3.5.ebuild
120
121 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/antlr-c-3.5.ebuild?rev=1.1&view=markup
122 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/antlr-c/antlr-c-3.5.ebuild?rev=1.1&content-type=text/plain
123
124 Index: antlr-c-3.5.ebuild
125 ===================================================================
126 # Copyright 1999-2013 Gentoo Foundation
127 # Distributed under the terms of the GNU General Public License v2
128 # $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/antlr-c-3.5.ebuild,v 1.1 2013/03/28 05:04:43 pinkbyte Exp $
129
130 EAPI="5"
131
132 AUTOTOOLS_AUTORECONF=1
133 AUTOTOOLS_IN_SOURCE_BUILD=1
134 inherit autotools-utils eutils
135
136 MY_P="antlr-${PV}"
137 DESCRIPTION="The ANTLR3 C Runtime"
138 HOMEPAGE="https://github.com/antlr/antlr3/tree/master/runtime/C"
139 SRC_URI="https://github.com/antlr/antlr3/archive/${MY_P}.tar.gz"
140
141 LICENSE="BSD"
142 SLOT="0"
143 KEYWORDS="~amd64 ~x86"
144 IUSE="debug debugger doc static-libs"
145
146 DEPEND="doc? ( app-doc/doxygen )"
147 RDEPEND=""
148
149 S="${WORKDIR}/antlr3-${MY_P}/runtime/C"
150
151 DOCS=( AUTHORS ChangeLog NEWS README )
152 PATCHES=( "${FILESDIR}/${PN}-3.3-cflags.patch" )
153
154 src_prepare() {
155 sed -i -e '/^QUIET/s/NO/YES/' doxyfile || die 'sed on doxyfile failed'
156
157 autotools-utils_src_prepare
158 }
159
160 src_configure() {
161 local myeconfargs=(
162 $(use_enable static-libs static)
163 $(use_enable debug debuginfo)
164 $(use_enable debugger antlrdebug)
165 )
166 if use amd64 || use ia64; then
167 myeconfargs+=( --enable-64bit )
168 else
169 myeconfargs+=( --disable-64bit )
170 fi
171
172 autotools-utils_src_configure
173 }
174
175 src_compile() {
176 autotools-utils_src_compile
177
178 if use doc; then
179 einfo "Generating documentation API ..."
180 doxygen -u doxyfile
181 doxygen doxyfile || die "doxygen failed"
182 fi
183 }
184
185 src_install() {
186 autotools-utils_src_install
187
188 if use doc; then
189 dohtml api/*
190 fi
191 }