1 |
vapier 11/12/21 21:02:15 |
2 |
|
3 |
Modified: ChangeLog msp430-binutils-2.21.1_p20111205.ebuild |
4 |
Log: |
5 |
Use more common code from toolchain-binutils.eclass. |
6 |
|
7 |
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-embedded/msp430-binutils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- ChangeLog 10 Dec 2011 22:50:54 -0000 1.2 |
23 |
+++ ChangeLog 21 Dec 2011 21:02:15 -0000 1.3 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for dev-embedded/msp430-binutils |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v 1.2 2011/12/10 22:50:54 radhermit Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v 1.3 2011/12/21 21:02:15 vapier Exp $ |
29 |
+ |
30 |
+ 21 Dec 2011; Mike Frysinger <vapier@g.o> |
31 |
+ msp430-binutils-2.21.1_p20111205.ebuild: |
32 |
+ Use more common code from toolchain-binutils.eclass. |
33 |
|
34 |
10 Dec 2011; Tim Harder <radhermit@g.o> |
35 |
msp430-binutils-2.21.1_p20111205.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.3 dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild?rev=1.3&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild?rev=1.3&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild?r1=1.2&r2=1.3 |
44 |
|
45 |
Index: msp430-binutils-2.21.1_p20111205.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild,v |
48 |
retrieving revision 1.2 |
49 |
retrieving revision 1.3 |
50 |
diff -u -r1.2 -r1.3 |
51 |
--- msp430-binutils-2.21.1_p20111205.ebuild 10 Dec 2011 22:50:54 -0000 1.2 |
52 |
+++ msp430-binutils-2.21.1_p20111205.ebuild 21 Dec 2011 21:02:15 -0000 1.3 |
53 |
@@ -1,23 +1,20 @@ |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild,v 1.2 2011/12/10 22:50:54 radhermit Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild,v 1.3 2011/12/21 21:02:15 vapier Exp $ |
58 |
|
59 |
-EAPI="4" |
60 |
+BINUTILS_VER=${PV%_p*} |
61 |
|
62 |
inherit toolchain-binutils |
63 |
|
64 |
-MY_PV="${PV%_p*}" |
65 |
DESCRIPTION="Tools necessary to build programs for MSP430 microcontrollers" |
66 |
-SRC_URI="mirror://gnu/binutils/binutils-${MY_PV}.tar.bz2 |
67 |
- http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2" |
68 |
-KEYWORDS="~amd64 ~x86" |
69 |
+SRC_URI+=" http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2" |
70 |
|
71 |
-S="${WORKDIR}/binutils-${MY_PV}" |
72 |
+KEYWORDS="~amd64 ~x86" |
73 |
|
74 |
-pkg_pretend() { |
75 |
+pkg_setup() { |
76 |
is_cross || die "Only cross-compile builds are supported" |
77 |
} |
78 |
|
79 |
-src_prepare() { |
80 |
- epatch "${WORKDIR}"/${P}.patch |
81 |
-} |
82 |
+PATCHES=( |
83 |
+ "${WORKDIR}"/${P}.patch |
84 |
+) |