From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-embedded/sgpp-lite-arm-linux-bin: metadata.xml sgpp-lite-arm-linux-bin-2010.09.50.ebuild ChangeLog |
Date: | Thu, 02 Dec 2010 15:16:06 |
Message-Id: | 20101202151556.F20AC20054@flycatcher.gentoo.org |
1 | vapier 10/12/02 15:15:56 |
2 | |
3 | Added: metadata.xml |
4 | sgpp-lite-arm-linux-bin-2010.09.50.ebuild ChangeLog |
5 | Log: |
6 | Initial package by me. |
7 | |
8 | (Portage version: 2.2.0_alpha5/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-embedded/sgpp-lite-arm-linux-bin/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>dev-embedded</herd> |
22 | </pkgmetadata> |
23 | |
24 | |
25 | |
26 | 1.1 dev-embedded/sgpp-lite-arm-linux-bin/sgpp-lite-arm-linux-bin-2010.09.50.ebuild |
27 | |
28 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/sgpp-lite-arm-linux-bin-2010.09.50.ebuild?rev=1.1&view=markup |
29 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/sgpp-lite-arm-linux-bin-2010.09.50.ebuild?rev=1.1&content-type=text/plain |
30 | |
31 | Index: sgpp-lite-arm-linux-bin-2010.09.50.ebuild |
32 | =================================================================== |
33 | # Copyright 1999-2010 Gentoo Foundation |
34 | # Distributed under the terms of the GNU General Public License v2 |
35 | # $Header: /var/cvsroot/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/sgpp-lite-arm-linux-bin-2010.09.50.ebuild,v 1.1 2010/12/02 15:15:56 vapier Exp $ |
36 | |
37 | CPU="arm" |
38 | TARGET="arm-none-linux-gnueabi" |
39 | HOST="i686-pc-linux-gnu" |
40 | MY_P="${CPU}-${PV%.*}-${PV##*.}-${TARGET}-${HOST}" |
41 | |
42 | DESCRIPTION="regular, validated releases of the GNU Toolchain for ${CPU} processors by CodeSourcery" |
43 | HOMEPAGE="http://www.codesourcery.com/sgpp/lite/${CPU}" |
44 | SRC_URI="http://www.codesourcery.com/public/gnu_toolchain/${TARGET}/${MY_P}.tar.bz2" |
45 | |
46 | LICENSE="GPL-2" |
47 | SLOT="${PV}" |
48 | KEYWORDS="~amd64 ~x86" |
49 | IUSE="doc" |
50 | RESTRICT="strip" # package is already stripped, and contains target bins |
51 | QA_EXECSTACK="opt/${P}/*" |
52 | |
53 | RDEPEND="sys-libs/glibc" |
54 | DEPEND="" |
55 | |
56 | S=${WORKDIR}/${CPU}-${PV%.*} |
57 | |
58 | src_install() { |
59 | local d="/opt/${P}" |
60 | dodir ${d} |
61 | cp -pPR * "${D}"/${d}/ || die |
62 | |
63 | pushd "${D}"/${d}/share/doc/${CPU}-${TARGET} >/dev/null |
64 | if use doc ; then |
65 | dohtml -r html/* || die |
66 | dodoc pdf/* || die |
67 | fi |
68 | rm -rf html pdf |
69 | rm LICENSE.txt man/man7/{fsf-funding,gpl,gfdl}.7 || die |
70 | mv man info ../.. |
71 | popd >/dev/null |
72 | find "${D}" -depth -type d -empty -delete |
73 | |
74 | cat <<-EOF > "${T}"/15${P} |
75 | PATH=${d}/bin |
76 | MANPATH=${d}/share/man |
77 | INFOPATH=${d}/share/info |
78 | EOF |
79 | doenvd "${T}"/15${P} || die |
80 | } |
81 | |
82 | |
83 | |
84 | 1.1 dev-embedded/sgpp-lite-arm-linux-bin/ChangeLog |
85 | |
86 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/ChangeLog?rev=1.1&view=markup |
87 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/ChangeLog?rev=1.1&content-type=text/plain |
88 | |
89 | Index: ChangeLog |
90 | =================================================================== |
91 | # ChangeLog for dev-embedded/sgpp-lite-arm-linux-bin |
92 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
93 | # $Header: /var/cvsroot/gentoo-x86/dev-embedded/sgpp-lite-arm-linux-bin/ChangeLog,v 1.1 2010/12/02 15:15:56 vapier Exp $ |
94 | |
95 | *sgpp-lite-arm-linux-bin-2010.09.50 (02 Dec 2010) |
96 | |
97 | 02 Dec 2010; Mike Frysinger <vapier@g.o> |
98 | +sgpp-lite-arm-linux-bin-2010.09.50.ebuild, +metadata.xml: |
99 | Initial package by me. |