1 |
jlec 10/06/24 17:26:10 |
2 |
|
3 |
Modified: ChangeLog balsa-3.5.ebuild |
4 |
Added: balsa-4.0.ebuild |
5 |
Log: |
6 |
Version Bump and restricting gtk+ version #273237 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 sci-electronics/balsa/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/ChangeLog?rev=1.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/ChangeLog?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/ChangeLog?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- ChangeLog 23 Sep 2009 19:59:23 -0000 1.13 |
23 |
+++ ChangeLog 24 Jun 2010 17:26:10 -0000 1.14 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sci-electronics/balsa |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.13 2009/09/23 19:59:23 patrick Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.14 2010/06/24 17:26:10 jlec Exp $ |
30 |
+ |
31 |
+*balsa-4.0 (24 Jun 2010) |
32 |
+ |
33 |
+ 24 Jun 2010; Justin Lecher <jlec@g.o> +files/4.0-datadir.patch, |
34 |
+ balsa-3.5.ebuild, +files/4.0-libdir.patch, +balsa-4.0.ebuild: |
35 |
+ Version Bump and restricting gtk+ version, #273237 |
36 |
|
37 |
23 Sep 2009; Patrick Lauer <patrick@g.o> balsa-3.5.ebuild: |
38 |
Remove virtual/libc |
39 |
|
40 |
|
41 |
|
42 |
1.4 sci-electronics/balsa/balsa-3.5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild?rev=1.4&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild?rev=1.4&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild?r1=1.3&r2=1.4 |
47 |
|
48 |
Index: balsa-3.5.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild,v |
51 |
retrieving revision 1.3 |
52 |
retrieving revision 1.4 |
53 |
diff -u -r1.3 -r1.4 |
54 |
--- balsa-3.5.ebuild 23 Sep 2009 19:59:23 -0000 1.3 |
55 |
+++ balsa-3.5.ebuild 24 Jun 2010 17:26:10 -0000 1.4 |
56 |
@@ -1,10 +1,11 @@ |
57 |
-# Copyright 1999-2009 Gentoo Foundation |
58 |
+# Copyright 1999-2010 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild,v 1.3 2009/09/23 19:59:23 patrick Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild,v 1.4 2010/06/24 17:26:10 jlec Exp $ |
62 |
+ |
63 |
+EAPI="1" |
64 |
|
65 |
inherit eutils |
66 |
|
67 |
-IUSE="" |
68 |
|
69 |
DESCRIPTION="The Balsa asynchronous synthesis system" |
70 |
HOMEPAGE="http://www.cs.manchester.ac.uk/apt/projects/tools/balsa/" |
71 |
@@ -19,11 +20,12 @@ |
72 |
LICENSE="GPL-2" |
73 |
SLOT="0" |
74 |
KEYWORDS="~x86 ~ppc" |
75 |
+IUSE="" |
76 |
|
77 |
DEPEND="sys-devel/binutils |
78 |
dev-libs/gmp |
79 |
dev-lang/perl |
80 |
- x11-libs/gtk+ |
81 |
+ x11-libs/gtk+:1 |
82 |
sci-electronics/iverilog |
83 |
sci-electronics/gplcver" |
84 |
|
85 |
@@ -44,10 +46,10 @@ |
86 |
if [ $TECH_AMS ]; then |
87 |
unpack ${BALSA_TECH_AMS} |
88 |
fi |
89 |
- sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I${S}/src/libs/ \2/:" ${WORKDIR}/balsa-sim-verilog-${PV}/libs/Makefile.in |
90 |
- sed -i -e 's/ $(bindir)/ $(DESTDIR)$(bindir)/' ${S}/bin/Makefile.in |
91 |
- sed -i -e 's/ $(balsatypesdir)/ $(DESTDIR)$(balsatypesdir)/' ${S}/share/balsa/types/Makefile.in |
92 |
- sed -i -e 's/ $(balsasimdir)/ $(DESTDIR)$(balsasimdir)/' ${S}/share/balsa/sim/Makefile.in |
93 |
+ sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I"${S}"/src/libs/ \2/:" "${WORKDIR}"/balsa-sim-verilog-${PV}/libs/Makefile.in |
94 |
+ sed -i -e 's/ $(bindir)/ $(DESTDIR)$(bindir)/' "${S}"/bin/Makefile.in |
95 |
+ sed -i -e 's/ $(balsatypesdir)/ $(DESTDIR)$(balsatypesdir)/' "${S}"/share/balsa/types/Makefile.in |
96 |
+ sed -i -e 's/ $(balsasimdir)/ $(DESTDIR)$(balsasimdir)/' "${S}"/share/balsa/sim/Makefile.in |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
@@ -55,30 +57,30 @@ |
101 |
einfo "Compiling balsa" |
102 |
./configure --prefix=/usr/ || die "econf failed" |
103 |
chmod +x bin/balsa-config |
104 |
- PATH=$PATH:${S}/bin |
105 |
+ PATH=$PATH:"${S}"/bin |
106 |
emake -j1 || die |
107 |
|
108 |
# configure AMS035 tech |
109 |
if [ $TECH_AMS ]; then |
110 |
einfo "Compiling AMS035 tech" |
111 |
- cd ${WORKDIR}/balsa-tech-ams-20030506 |
112 |
+ cd "${WORKDIR}"/balsa-tech-ams-20030506 |
113 |
econf || die "econf failed" |
114 |
fi |
115 |
|
116 |
# config Xilinx FPGA backend |
117 |
einfo "Compiling Xilinx FPGA backend" |
118 |
- cd ${WORKDIR}/balsa-tech-xilinx-${PV} |
119 |
+ cd "${WORKDIR}"/balsa-tech-xilinx-${PV} |
120 |
econf || die "econf failed" |
121 |
|
122 |
# config example tech |
123 |
einfo "Compiling tech example" |
124 |
- cd ${WORKDIR}/balsa-tech-example-${PV} |
125 |
+ cd "${WORKDIR}"/balsa-tech-example-${PV} |
126 |
econf || die "econf failed" |
127 |
|
128 |
# config verilog simulator wrappers |
129 |
einfo "Compiling verilog simulator wrappers" |
130 |
- cd ${WORKDIR}/balsa-sim-verilog-${PV} |
131 |
- ./configure --includedir=${S}/src/libs/balsasim \ |
132 |
+ cd "${WORKDIR}"/balsa-sim-verilog-${PV} |
133 |
+ ./configure --includedir="${S}"/src/libs/balsasim \ |
134 |
--with-icarus-includes=/usr/include \ |
135 |
--with-icarus-libs=/usr/lib \ |
136 |
--with-cver-includes=/usr/include/cver_pli_incs || die |
137 |
@@ -86,31 +88,31 @@ |
138 |
|
139 |
src_install() { |
140 |
# install balsa |
141 |
- cd ${S} |
142 |
+ cd "${S}" |
143 |
einfo "Installing balsa" |
144 |
make DESTDIR=${D} install || die |
145 |
|
146 |
# install manual and examples |
147 |
dodir /usr/share/doc/${P}/ |
148 |
- cp -pPR ${WORKDIR}/BalsaExamples ${D}/usr/share/doc/${P}/ |
149 |
+ cp -pPR "${WORKDIR}"/BalsaExamples ${D}/usr/share/doc/${P}/ |
150 |
dodoc ${DISTDIR}/BalsaManual${PV}.pdf |
151 |
|
152 |
if [ $TECH_AMS ]; then |
153 |
einfo "Installing AMS035 tech" |
154 |
- cd ${WORKDIR}/balsa-tech-ams-20030506 |
155 |
+ cd "${WORKDIR}"/balsa-tech-ams-20030506 |
156 |
make DESTDIR=${D} install || die "make install failed" |
157 |
fi |
158 |
|
159 |
einfo "Installing Xilinx FPGA tech" |
160 |
- cd ${WORKDIR}/balsa-tech-xilinx-${PV} |
161 |
+ cd "${WORKDIR}"/balsa-tech-xilinx-${PV} |
162 |
make DESTDIR=${D} install || die "make install failed" |
163 |
|
164 |
einfo "Installing example tech" |
165 |
- cd ${WORKDIR}/balsa-tech-example-${PV} |
166 |
+ cd "${WORKDIR}"/balsa-tech-example-${PV} |
167 |
make DESTDIR=${D} install || die "make install failed" |
168 |
|
169 |
einfo "Installing verilog simulator wrappers" |
170 |
- cd ${WORKDIR}/balsa-sim-verilog-${PV} |
171 |
+ cd "${WORKDIR}"/balsa-sim-verilog-${PV} |
172 |
DESTDIR=${D} make install || die "make verilog wrappers failed" |
173 |
|
174 |
# fix paths |
175 |
@@ -120,7 +122,7 @@ |
176 |
find . -name "sed*" -exec rm -f {} \; |
177 |
|
178 |
# add some docs |
179 |
- cd ${S} |
180 |
+ cd "${S}" |
181 |
einfo "Installing docs" |
182 |
dodoc AUTHORS COPYING NEWS README TODO |
183 |
mv ${D}/usr/doc/* ${D}/usr/share/doc/${P}/ |
184 |
|
185 |
|
186 |
|
187 |
1.1 sci-electronics/balsa/balsa-4.0.ebuild |
188 |
|
189 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/balsa-4.0.ebuild?rev=1.1&view=markup |
190 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/balsa/balsa-4.0.ebuild?rev=1.1&content-type=text/plain |
191 |
|
192 |
Index: balsa-4.0.ebuild |
193 |
=================================================================== |
194 |
# Copyright 1999-2010 Gentoo Foundation |
195 |
# Distributed under the terms of the GNU General Public License v2 |
196 |
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-4.0.ebuild,v 1.1 2010/06/24 17:26:10 jlec Exp $ |
197 |
|
198 |
EAPI="1" |
199 |
|
200 |
inherit autotools eutils multilib toolchain-funcs |
201 |
|
202 |
DESCRIPTION="The Balsa asynchronous synthesis system" |
203 |
HOMEPAGE="http://www.cs.manchester.ac.uk/apt/projects/tools/balsa/" |
204 |
SRC_URI=" |
205 |
ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${P}.tar.gz |
206 |
ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-sim-verilog-${PV}.tar.gz |
207 |
ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-tech-example-${PV}.tar.gz |
208 |
ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-tech-xilinx-${PV}.tar.gz" |
209 |
|
210 |
LICENSE="GPL-2" |
211 |
SLOT="0" |
212 |
KEYWORDS="~x86 ~ppc" |
213 |
IUSE="" |
214 |
|
215 |
DEPEND=" |
216 |
dev-lang/perl |
217 |
dev-libs/gmp |
218 |
sci-electronics/gplcver |
219 |
sci-electronics/iverilog |
220 |
x11-libs/gtk+:2" |
221 |
RDEPEND="${DEPEND} |
222 |
dev-scheme/guile |
223 |
media-gfx/graphviz |
224 |
sci-electronics/espresso-ab |
225 |
sci-electronics/gtkwave " |
226 |
|
227 |
BALSA_TECH_AMS="balsa-tech-ams-20030506.tar.gz" |
228 |
|
229 |
if [ -f ${DISTDIR}/${BALSA_TECH_AMS} ]; then |
230 |
TECH_AMS=1 |
231 |
fi |
232 |
|
233 |
src_unpack() { |
234 |
unpack ${A} |
235 |
if [ $TECH_AMS ]; then |
236 |
unpack ${BALSA_TECH_AMS} |
237 |
fi |
238 |
cd "${S}" |
239 |
epatch "${FILESDIR}"/${PV}-libdir.patch |
240 |
epatch "${FILESDIR}"/${PV}-datadir.patch |
241 |
eautoreconf |
242 |
sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I"${S}"/src/libs/ \2/:" "${WORKDIR}"/balsa-sim-verilog-${PV}/libs/Makefile.in |
243 |
sed -i -e 's/ $(bindir)/ $(DESTDIR)$(bindir)/' "${S}"/bin/Makefile.in |
244 |
sed -i -e 's/ $(balsatypesdir)/ $(DESTDIR)$(balsatypesdir)/' "${S}"/share/balsa/types/Makefile.in |
245 |
sed -i -e 's/ $(balsasimdir)/ $(DESTDIR)$(balsasimdir)/' "${S}"/share/balsa/sim/Makefile.in |
246 |
} |
247 |
|
248 |
src_compile() { |
249 |
tc-export CXX |
250 |
# compile balsa |
251 |
einfo "Compiling balsa" |
252 |
econf |
253 |
chmod +x bin/balsa-config |
254 |
PATH="$PATH:"${S}"/bin" |
255 |
emake -j1 || die |
256 |
|
257 |
# configure AMS035 tech |
258 |
if [ $TECH_AMS ]; then |
259 |
einfo "Compiling AMS035 tech" |
260 |
cd "${WORKDIR}"/balsa-tech-ams-20030506 |
261 |
econf |
262 |
fi |
263 |
|
264 |
# config Xilinx FPGA backend |
265 |
einfo "Compiling Xilinx FPGA backend" |
266 |
cd "${WORKDIR}"/balsa-tech-xilinx-${PV} |
267 |
econf |
268 |
|
269 |
# config example tech |
270 |
einfo "Compiling tech example" |
271 |
cd "${WORKDIR}"/balsa-tech-example-${PV} |
272 |
econf |
273 |
|
274 |
# config verilog simulator wrappers |
275 |
einfo "Compiling verilog simulator wrappers" |
276 |
cd "${WORKDIR}"/balsa-sim-verilog-${PV} |
277 |
# ./configure --includedir="${S}"/src/libs/balsasim \ |
278 |
econf \ |
279 |
--includedir="${S}"/src/libs/balsasim \ |
280 |
--with-icarus-includes=/usr/include \ |
281 |
--with-icarus-libs=/usr/$(get_libdir) \ |
282 |
--with-cver-includes=/usr/include/cver_pli_incs || die |
283 |
} |
284 |
|
285 |
src_install() { |
286 |
# install balsa |
287 |
einfo "Installing balsa" |
288 |
emake DESTDIR=${D} install || die |
289 |
|
290 |
if [ $TECH_AMS ]; then |
291 |
einfo "Installing AMS035 tech" |
292 |
cd "${WORKDIR}"/balsa-tech-ams-20030506 |
293 |
emake DESTDIR=${D} install || die "make install failed" |
294 |
fi |
295 |
|
296 |
einfo "Installing Xilinx FPGA tech" |
297 |
cd "${WORKDIR}"/balsa-tech-xilinx-${PV} |
298 |
emake DESTDIR=${D} install || die "make install failed" |
299 |
|
300 |
einfo "Installing example tech" |
301 |
cd "${WORKDIR}"/balsa-tech-example-${PV} |
302 |
emake DESTDIR=${D} install || die "make install failed" |
303 |
|
304 |
einfo "Installing verilog simulator wrappers" |
305 |
cd "${WORKDIR}"/balsa-sim-verilog-${PV} |
306 |
DESTDIR=${D} emake install || die "make verilog wrappers failed" |
307 |
|
308 |
# fix paths |
309 |
cd ${D} |
310 |
einfo "Fixing paths" |
311 |
find . -type f -exec sed -i -e "s:${D}::" {} \; |
312 |
find . -name "sed*" -exec rm -f {} \; |
313 |
|
314 |
# add some docs |
315 |
cd "${S}" |
316 |
einfo "Installing docs" |
317 |
dodoc AUTHORS NEWS README TODO || die |
318 |
|
319 |
# fix collisions |
320 |
rm -f ${D}/usr/bin/libtool || die |
321 |
} |
322 |
|
323 |
pkg_postinst() { |
324 |
if [ ! $TECH_AMS ]; then |
325 |
elog "The AMS035 tech library was not installed." |
326 |
elog "If you have the appropriate licenses request" |
327 |
elog "the tech support files directly from balsa@×××××××××.uk" |
328 |
elog "and add them to /usr/portage/distfiles before emerging." |
329 |
else |
330 |
elog "The AMS035 tech library was found and installed." |
331 |
fi |
332 |
} |