1 |
armin76 09/12/26 20:26:19 |
2 |
|
3 |
Modified: ChangeLog openocd-9999.ebuild |
4 |
Added: openocd-0.3.1.ebuild |
5 |
Log: |
6 |
Version bump wrt #281139, build without -Werror wrt #268238, update 9999 to git wrt #296139, fix building of docs in 9999 wrt #277358 |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 dev-embedded/openocd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/ChangeLog?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/ChangeLog?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/ChangeLog?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- ChangeLog 17 Jun 2009 10:04:16 -0000 1.7 |
23 |
+++ ChangeLog 26 Dec 2009 20:26:19 -0000 1.8 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-embedded/openocd |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v 1.7 2009/06/17 10:04:16 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v 1.8 2009/12/26 20:26:19 armin76 Exp $ |
29 |
+ |
30 |
+*openocd-0.3.1 (26 Dec 2009) |
31 |
+ |
32 |
+ 26 Dec 2009; Raúl Porcel <armin76@g.o> +openocd-0.3.1.ebuild, |
33 |
+ openocd-9999.ebuild: |
34 |
+ Version bump wrt #281139, build without -Werror wrt #268238, update 9999 |
35 |
+ to git wrt #296139, fix building of docs in 9999 wrt #277358 |
36 |
|
37 |
17 Jun 2009; Mike Frysinger <vapier@g.o> openocd-0.1.0.ebuild, |
38 |
openocd-9999.ebuild, metadata.xml: |
39 |
|
40 |
|
41 |
|
42 |
1.7 dev-embedded/openocd/openocd-9999.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild?rev=1.7&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild?rev=1.7&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild?r1=1.6&r2=1.7 |
47 |
|
48 |
Index: openocd-9999.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild,v |
51 |
retrieving revision 1.6 |
52 |
retrieving revision 1.7 |
53 |
diff -u -r1.6 -r1.7 |
54 |
--- openocd-9999.ebuild 17 Jun 2009 10:04:16 -0000 1.6 |
55 |
+++ openocd-9999.ebuild 26 Dec 2009 20:26:19 -0000 1.7 |
56 |
@@ -1,11 +1,11 @@ |
57 |
# Copyright 1999-2009 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild,v 1.6 2009/06/17 10:04:16 vapier Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild,v 1.7 2009/12/26 20:26:19 armin76 Exp $ |
61 |
|
62 |
-ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/openocd/trunk" |
63 |
+EGIT_REPO_URI="git://openocd.git.sourceforge.net/gitroot/openocd/openocd" |
64 |
inherit eutils |
65 |
if [[ ${PV} == "9999" ]] ; then |
66 |
- inherit subversion autotools |
67 |
+ inherit git autotools |
68 |
KEYWORDS="" |
69 |
SRC_URI="" |
70 |
else |
71 |
@@ -37,7 +37,7 @@ |
72 |
|
73 |
src_unpack() { |
74 |
if [[ ${PV} == "9999" ]] ; then |
75 |
- subversion_src_unpack |
76 |
+ git_src_unpack |
77 |
cd "${S}" |
78 |
eautoreconf |
79 |
else |
80 |
@@ -46,7 +46,12 @@ |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
+ if [[ ${PV} == "9999" ]] ; then |
85 |
+ myconf="${myconf} --enable-maintainer-mode" |
86 |
+ fi |
87 |
+ |
88 |
econf \ |
89 |
+ --disable-werror \ |
90 |
--enable-parport \ |
91 |
--enable-parport_ppdev \ |
92 |
--enable-amtjtagaccel \ |
93 |
@@ -58,7 +63,8 @@ |
94 |
$(use_enable parport parport_giveio) \ |
95 |
$(use_enable presto presto_ftd2xx) \ |
96 |
$(use_enable ftdi ft2232_libftdi) \ |
97 |
- $(use ftdi || use_enable ftd2xx ft2232_ftd2xx) |
98 |
+ $(use ftdi || use_enable ftd2xx ft2232_ftd2xx) \ |
99 |
+ ${myconf} |
100 |
emake || die "Error in emake!" |
101 |
} |
102 |
|
103 |
|
104 |
|
105 |
|
106 |
1.1 dev-embedded/openocd/openocd-0.3.1.ebuild |
107 |
|
108 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/openocd-0.3.1.ebuild?rev=1.1&view=markup |
109 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/openocd/openocd-0.3.1.ebuild?rev=1.1&content-type=text/plain |
110 |
|
111 |
Index: openocd-0.3.1.ebuild |
112 |
=================================================================== |
113 |
# Copyright 1999-2009 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-0.3.1.ebuild,v 1.1 2009/12/26 20:26:19 armin76 Exp $ |
116 |
|
117 |
EGIT_REPO_URI="git://openocd.git.sourceforge.net/gitroot/openocd/openocd" |
118 |
inherit eutils |
119 |
if [[ ${PV} == "9999" ]] ; then |
120 |
inherit git autotools |
121 |
KEYWORDS="" |
122 |
SRC_URI="" |
123 |
else |
124 |
KEYWORDS="~x86" |
125 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
126 |
fi |
127 |
|
128 |
DESCRIPTION="OpenOCD - Open On-Chip Debugger" |
129 |
HOMEPAGE="http://openocd.berlios.de/web/" |
130 |
|
131 |
LICENSE="GPL-2" |
132 |
SLOT="0" |
133 |
IUSE="ftd2xx ftdi parport presto usb" |
134 |
RESTRICT="strip" # includes non-native binaries |
135 |
|
136 |
# libftd2xx is the default because it is reported to work better. |
137 |
DEPEND="usb? ( dev-libs/libusb ) |
138 |
presto? ( dev-embedded/libftd2xx ) |
139 |
ftd2xx? ( dev-embedded/libftd2xx ) |
140 |
ftdi? ( dev-embedded/libftdi )" |
141 |
RDEPEND="${DEPEND}" |
142 |
|
143 |
pkg_setup() { |
144 |
if use ftdi && use ftd2xx ; then |
145 |
ewarn "You can only use one FTDI library at a time, so picking" |
146 |
ewarn "USE=ftdi (open source) over USE=ftd2xx (closed source)" |
147 |
fi |
148 |
} |
149 |
|
150 |
src_unpack() { |
151 |
if [[ ${PV} == "9999" ]] ; then |
152 |
git_src_unpack |
153 |
cd "${S}" |
154 |
eautoreconf |
155 |
else |
156 |
unpack ${A} |
157 |
fi |
158 |
} |
159 |
|
160 |
src_compile() { |
161 |
if [[ ${PV} == "9999" ]] ; then |
162 |
myconf="${myconf} --enable-maintainer-mode" |
163 |
fi |
164 |
|
165 |
econf \ |
166 |
--disable-werror \ |
167 |
--enable-parport \ |
168 |
--enable-parport_ppdev \ |
169 |
--enable-amtjtagaccel \ |
170 |
--enable-ep93xx \ |
171 |
--enable-at91rm9200 \ |
172 |
--enable-gw16012 \ |
173 |
--enable-oocd_trace \ |
174 |
$(use_enable usb usbprog) \ |
175 |
$(use_enable parport parport_giveio) \ |
176 |
$(use_enable presto presto_ftd2xx) \ |
177 |
$(use_enable ftdi ft2232_libftdi) \ |
178 |
$(use ftdi || use_enable ftd2xx ft2232_ftd2xx) \ |
179 |
${myconf} |
180 |
emake || die "Error in emake!" |
181 |
} |
182 |
|
183 |
src_install() { |
184 |
emake DESTDIR="${D}" install || die |
185 |
dodoc AUTHORS ChangeLog NEWS README TODO |
186 |
prepstrip "${D}"/usr/bin |
187 |
} |