diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-02 15:15:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-12-02 15:15:48 +0000 |
commit | 6217c46d9a8aa25c8c72289839e18f1eb4e49fc4 (patch) | |
tree | 6b4c7de770fddd7ede2ca946584eeb73ffb09599 /dev-embedded | |
parent | clean up; version bump, fixed also bug #336198 (diff) | |
download | gentoo-2-6217c46d9a8aa25c8c72289839e18f1eb4e49fc4.tar.gz gentoo-2-6217c46d9a8aa25c8c72289839e18f1eb4e49fc4.tar.bz2 gentoo-2-6217c46d9a8aa25c8c72289839e18f1eb4e49fc4.zip |
Initial package by me.
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-embedded/sgpp-lite-arm-eabi-bin/ChangeLog b/dev-embedded/sgpp-lite-arm-eabi-bin/ChangeLog new file mode 100644 index 000000000000..a279e38ca893 --- /dev/null +++ b/dev-embedded/sgpp-lite-arm-eabi-bin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/sgpp-lite-arm-eabi-bin +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sgpp-lite-arm-eabi-bin/ChangeLog,v 1.1 2010/12/02 15:15:48 vapier Exp $ + +*sgpp-lite-arm-eabi-bin-2010.09.51 (02 Dec 2010) + + 02 Dec 2010; Mike Frysinger <vapier@gentoo.org> + +sgpp-lite-arm-eabi-bin-2010.09.51.ebuild, +metadata.xml: + Initial package by me. + diff --git a/dev-embedded/sgpp-lite-arm-eabi-bin/metadata.xml b/dev-embedded/sgpp-lite-arm-eabi-bin/metadata.xml new file mode 100644 index 000000000000..92114080841c --- /dev/null +++ b/dev-embedded/sgpp-lite-arm-eabi-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +</pkgmetadata> diff --git a/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2010.09.51.ebuild b/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2010.09.51.ebuild new file mode 100644 index 000000000000..9dca210f53e7 --- /dev/null +++ b/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2010.09.51.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2010.09.51.ebuild,v 1.1 2010/12/02 15:15:48 vapier Exp $ + +CPU="arm" +TARGET="arm-none-eabi" +HOST="i686-pc-linux-gnu" +MY_P="${CPU}-${PV%.*}-${PV##*.}-${TARGET}-${HOST}" + +DESCRIPTION="regular, validated releases of the GNU Toolchain for ${CPU} processors by CodeSourcery" +HOMEPAGE="http://www.codesourcery.com/sgpp/lite/${CPU}" +SRC_URI="http://www.codesourcery.com/public/gnu_toolchain/${TARGET}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +RESTRICT="strip" # package is already stripped, and contains target bins +QA_EXECSTACK="opt/${P}/*" + +RDEPEND="sys-libs/glibc" +DEPEND="" + +S=${WORKDIR}/${CPU}-${PV%.*} + +src_install() { + local d="/opt/${P}" + dodir ${d} + cp -pPR * "${D}"/${d}/ || die + + pushd "${D}"/${d}/share/doc/${CPU}-${TARGET} >/dev/null + if use doc ; then + dohtml -r html/* || die + dodoc pdf/* || die + fi + rm -rf html pdf + rm LICENSE.txt man/man7/{fsf-funding,gpl,gfdl}.7 || die + mv man info ../.. + popd >/dev/null + find "${D}" -depth -type d -empty -delete + + cat <<-EOF > "${T}"/15${P} + PATH=${d}/bin + MANPATH=${d}/share/man + INFOPATH=${d}/share/info + EOF + doenvd "${T}"/15${P} || die +} |