summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-04 00:04:39 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-04 00:04:39 +0000
commit02f1af317a1b9e53eeed2f11b54f6ab2b13660a1 (patch)
treea31324522989ce9286c835a55767189bdd68b50f /sys-libs/uclibc++
parentAdd modular X dependencies, bug #115591 (diff)
downloadgentoo-2-02f1af317a1b9e53eeed2f11b54f6ab2b13660a1.tar.gz
gentoo-2-02f1af317a1b9e53eeed2f11b54f6ab2b13660a1.tar.bz2
gentoo-2-02f1af317a1b9e53eeed2f11b54f6ab2b13660a1.zip
old
Diffstat (limited to 'sys-libs/uclibc++')
-rw-r--r--sys-libs/uclibc++/files/digest-uclibc++-0.1.111
-rw-r--r--sys-libs/uclibc++/uclibc++-0.1.11.ebuild74
2 files changed, 0 insertions, 75 deletions
diff --git a/sys-libs/uclibc++/files/digest-uclibc++-0.1.11 b/sys-libs/uclibc++/files/digest-uclibc++-0.1.11
deleted file mode 100644
index 6f29281d8a7a..000000000000
--- a/sys-libs/uclibc++/files/digest-uclibc++-0.1.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8a8e0ee8fefef150c08a649fd7da04aa uClibc++-0.1.11.tbz2 253582
diff --git a/sys-libs/uclibc++/uclibc++-0.1.11.ebuild b/sys-libs/uclibc++/uclibc++-0.1.11.ebuild
deleted file mode 100644
index ff6325f28b9c..000000000000
--- a/sys-libs/uclibc++/uclibc++-0.1.11.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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.11.ebuild,v 1.1 2005/07/02 17:12:49 vapier Exp $
-
-inherit eutils toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
- if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
- export CTARGET=${CATEGORY/cross-}
- fi
-fi
-
-DESCRIPTION="embedded C++ library"
-HOMEPAGE="http://cxx.uclibc.org/"
-SRC_URI="http://cxx.uclibc.org/src/uClibc++-${PV}.tbz2"
-
-LICENSE="GPL-2"
-[[ ${CTARGET} != ${CHOST} ]] \
- && SLOT="${CTARGET}" \
- || SLOT="0"
-KEYWORDS="~arm ~ppc ~x86"
-IUSE="debug static"
-
-DEPEND=""
-
-S=${WORKDIR}/uClibc++
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- make defconfig || die "defconfig failed"
-
- local target
- case $(tc-arch ${CTARGET}) in
- arm) target="arm";;
- mips) target="mips";;
- ppc) target="powerpc";;
- x86) target="i386";;
- *) die "$(tc-arch ${CTARGET}) lists no defaults :/";;
- esac
-
- sed -i \
- -e '/^UCLIBCXX_RUNTIME_PREFIX=/d' \
- -e '/^TARGET_'${target}'/d' \
- .config
-
- echo "UCLIBCXX_RUNTIME_PREFIX=\"/usr/${CTARGET}\"" >> .config
- echo "TARGET_${target}=y" >> .config
- use debug && echo "CONFIG_DODEBUG=y" >> .config
-
- yes "" | make oldconfig || die "oldconfig failed"
-
- # has to come after make oldconfig, else it will be disabled
- echo "BUILD_STATIC_LIB=y" >> .config
- if use static ; then
- echo "BUILD_ONLY_STATIC_LIB=y" >> .config
- fi
-}
-
-src_compile() {
- emake -j1 ARCH_CFLAGS="${CFLAGS}" CROSS=${CTARGET}- || die "make failed"
-}
-
-src_test() {
- make test || die "test 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
-}