diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-09 23:21:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-09 23:21:20 +0000 |
commit | bb39a88550c666270981014f54fb363b8d6fa993 (patch) | |
tree | 5d1a6d7976cb63888874cd3f910e940feea091fd /sys-libs | |
parent | redundancy setting, search feature, debug (Manifest recommit) (diff) | |
download | gentoo-2-bb39a88550c666270981014f54fb363b8d6fa993.tar.gz gentoo-2-bb39a88550c666270981014f54fb363b8d6fa993.tar.bz2 gentoo-2-bb39a88550c666270981014f54fb363b8d6fa993.zip |
initial import
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/uclibc++/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/uclibc++/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/uclibc++/files/0.1.8-pop_back.patch | 17 | ||||
-rw-r--r-- | sys-libs/uclibc++/files/digest-uclibc++-0.1.8 | 1 | ||||
-rw-r--r-- | sys-libs/uclibc++/metadata.xml | 5 | ||||
-rw-r--r-- | sys-libs/uclibc++/uclibc++-0.1.8.ebuild | 61 |
6 files changed, 94 insertions, 0 deletions
diff --git a/sys-libs/uclibc++/ChangeLog b/sys-libs/uclibc++/ChangeLog new file mode 100644 index 000000000000..350e5e678773 --- /dev/null +++ b/sys-libs/uclibc++/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-libs/uclibc++ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/ChangeLog,v 1.1 2005/01/09 23:21:20 vapier Exp $ + +*uclibc++-0.1.8 (09 Jan 2004) + + 09 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/sys-libs/uclibc++/Manifest b/sys-libs/uclibc++/Manifest new file mode 100644 index 000000000000..9f320e8a1c72 --- /dev/null +++ b/sys-libs/uclibc++/Manifest @@ -0,0 +1,2 @@ +MD5 849f72150a5f9d0eb0b71cee153b0917 uclibc++-0.1.8.ebuild 416 +MD5 a901c9aaefec85a5a52af92d49a2f09e files/digest-uclibc++-0.1.8 64 diff --git a/sys-libs/uclibc++/files/0.1.8-pop_back.patch b/sys-libs/uclibc++/files/0.1.8-pop_back.patch new file mode 100644 index 000000000000..aed5aa970e87 --- /dev/null +++ b/sys-libs/uclibc++/files/0.1.8-pop_back.patch @@ -0,0 +1,17 @@ +Index: string +=================================================================== +RCS file: /var/cvs/uClibc++/include/string,v +retrieving revision 1.15 +retrieving revision 1.16 +diff -u -r1.15 -r1.16 +--- include/string 9 Jan 2005 06:10:45 -0000 1.15 ++++ include/string 9 Jan 2005 21:58:36 -0000 1.16 +@@ -354,7 +354,7 @@ + ++position; + } + // --vector<Ch, A>::elements; +- pop_back(); ++ vector<Ch, A>::pop_back(); + return temp; + } + diff --git a/sys-libs/uclibc++/files/digest-uclibc++-0.1.8 b/sys-libs/uclibc++/files/digest-uclibc++-0.1.8 new file mode 100644 index 000000000000..4eee99fab83c --- /dev/null +++ b/sys-libs/uclibc++/files/digest-uclibc++-0.1.8 @@ -0,0 +1 @@ +MD5 c15b4c6680a9f7e9d4d822409003be3c uClibc++-0.1.8.tbz2 248904 diff --git a/sys-libs/uclibc++/metadata.xml b/sys-libs/uclibc++/metadata.xml new file mode 100644 index 000000000000..5c40e771595f --- /dev/null +++ b/sys-libs/uclibc++/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>embedded</herd> +</pkgmetadata> diff --git a/sys-libs/uclibc++/uclibc++-0.1.8.ebuild b/sys-libs/uclibc++/uclibc++-0.1.8.ebuild new file mode 100644 index 000000000000..95003fff906d --- /dev/null +++ b/sys-libs/uclibc++/uclibc++-0.1.8.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/uclibc++-0.1.8.ebuild,v 1.1 2005/01/09 23:21:20 vapier Exp $ + +inherit eutils + +DESCRIPTION="embedded C++ library" +HOMEPAGE="http://cxx.uclibc.org/" +SRC_URI="http://cxx.uclibc.org/src/uClibc++-${PV}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~ppc ~x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/uClibc++ + +src_unpack() { + unpack ${A} + cd ${S} + make defconfig || die "defconfig failed" + + export CTARGET="${CTARGET:-${CHOST}}" + local target + case ${CTARGET} in + arm*) target="arm";; + mips*) target="mips";; + powerpc*) target="powerpc";; + i?86*) target="i386";; + *) die "${CTARGET} lists no defaults :/";; + esac + + sed -i \ + -e '/^UCLIBCXX_RUNTIME_PREFIX=/d' + -e '/^TARGET_'${target}'/d' \ + .config + + cat << EOF >> .config +TARGET_${target}=y +UCLIBCXX_RUNTIME_PREFIX="/usr/${CTARGET}" +EOF + echo "TARGET_${target}=y" >> .config + + yes "" | make oldconfig || die "oldconfig failed" + + # Patches! + epatch "${FILESDIR}"/${PV}-pop_back.patch +} + +src_compile() { + emake -j1 CROSS=${CTARGET}- || die "make failed" +} + +src_install() { + make install PREFIX="${D}" || die + dodir /usr/bin + dosym /usr/${CTARGET}/bin/g++-uc /usr/bin/g++-uc + dodoc ChangeLog README TODO +} |