From: | "Daniel Black (dragonheart)" <dragonheart@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-embedded/avr-libc: ChangeLog avr-libc-1.6.2.ebuild avr-libc-1.4.6.ebuild |
Date: | Sat, 03 May 2008 01:11:10 |
Message-Id: | E1Js6HM-0001Ol-2e@stork.gentoo.org |
1 | dragonheart 08/05/03 01:11:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: avr-libc-1.6.2.ebuild |
5 | Removed: avr-libc-1.4.6.ebuild |
6 | Log: |
7 | version bump as per bug #218410 tested by Lukas Sandström |
8 | (Portage version: 2.1.5_rc6) |
9 | |
10 | Revision Changes Path |
11 | 1.42 dev-embedded/avr-libc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/avr-libc/ChangeLog?rev=1.42&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/avr-libc/ChangeLog?rev=1.42&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/avr-libc/ChangeLog?r1=1.41&r2=1.42 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v |
20 | retrieving revision 1.41 |
21 | retrieving revision 1.42 |
22 | diff -u -r1.41 -r1.42 |
23 | --- ChangeLog 5 Jan 2008 09:32:23 -0000 1.41 |
24 | +++ ChangeLog 3 May 2008 01:11:07 -0000 1.42 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-embedded/avr-libc |
27 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.41 2008/01/05 09:32:23 calchan Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.42 2008/05/03 01:11:07 dragonheart Exp $ |
30 | + |
31 | +*avr-libc-1.6.2 (03 May 2008) |
32 | + |
33 | + 03 May 2008; Daniel Black <dragonheart@g.o> -avr-libc-1.4.6.ebuild, |
34 | + +avr-libc-1.6.2.ebuild: |
35 | + version bump as per bug #218410 tested by Lukas Sandstrom |
36 | |
37 | 05 Jan 2008; Denis Dupeyron <calchan@g.o> avr-libc-1.2.6.ebuild: |
38 | Shameless copy of avr-gcc check from later versions to fix bug #204377. |
39 | |
40 | |
41 | |
42 | 1.1 dev-embedded/avr-libc/avr-libc-1.6.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.6.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.6.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: avr-libc-1.6.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.6.2.ebuild,v 1.1 2008/05/03 01:11:07 dragonheart Exp $ |
52 | |
53 | CHOST="avr" |
54 | CTARGET="avr" |
55 | |
56 | inherit flag-o-matic |
57 | |
58 | DOCS_PV="1.6.2" |
59 | |
60 | DESCRIPTION="C library for Atmel AVR microcontrollers" |
61 | HOMEPAGE="http://www.nongnu.org/avr-libc/" |
62 | SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2 |
63 | http://savannah.nongnu.org/download/avr-libc/${PN}-manpages-${DOCS_PV}.tar.bz2 |
64 | doc? ( http://savannah.nongnu.org/download/avr-libc/${PN}-user-manual-${DOCS_PV}.tar.bz2 )" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
69 | IUSE="doc nls" |
70 | |
71 | DEPEND=">=sys-devel/crossdev-0.9.1" |
72 | [[ ${CATEGORY/cross-} != ${CATEGORY} ]] \ |
73 | && RDEPEND="!dev-embedded/avr-libc" \ |
74 | || RDEPEND="" |
75 | |
76 | pkg_setup() { |
77 | # check for avr-gcc, bug #134738 |
78 | ebegin "Checking for avr-gcc" |
79 | if type -p avr-gcc > /dev/null ; then |
80 | eend 0 |
81 | else |
82 | eend 1 |
83 | |
84 | eerror |
85 | eerror "Failed to locate 'avr-gcc' in \$PATH. You can install an AVR toolchain using:" |
86 | eerror " $ crossdev -t avr" |
87 | eerror |
88 | die "AVR toolchain not found" |
89 | fi |
90 | } |
91 | |
92 | src_compile() { |
93 | strip-flags |
94 | strip-unsupported-flags |
95 | |
96 | mkdir obj-avr |
97 | cd "${S}"/obj-avr |
98 | |
99 | ECONF_SOURCE="${S}" \ |
100 | econf \ |
101 | $(use_enable nls) \ |
102 | || die "econf failed" |
103 | |
104 | emake || die "emake failed" |
105 | } |
106 | |
107 | src_install() { |
108 | cd "${S}"/obj-avr |
109 | make DESTDIR="${D}" install || die "make install failed" |
110 | |
111 | cd "${S}" |
112 | dodoc AUTHORS ChangeLog* NEWS README |
113 | |
114 | # man pages can not go into standard locations |
115 | # as they would then overwrite libc man pages |
116 | dosed "s:\$(VERSION):${PVR}:" /usr/bin/avr-man |
117 | insinto /usr/share/doc/${PF}/man/man3 |
118 | doins "${WORKDIR}"/man/man3/* |
119 | prepman /usr/share/doc/${PF} |
120 | |
121 | use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${DOCS_PV}/* |
122 | } |
123 | |
124 | |
125 | |
126 | -- |
127 | gentoo-commits@l.g.o mailing list |