summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-22 05:21:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-22 05:21:29 +0000
commitbec5e20a7b37902e97c22e7c46c4a9404228888e (patch)
treedf20c00f9aa6aa6a9af151305071da96ec9c275e /sys-libs/uclibc++
parentQA fix - correct man path (diff)
downloadgentoo-2-bec5e20a7b37902e97c22e7c46c4a9404228888e.tar.gz
gentoo-2-bec5e20a7b37902e97c22e7c46c4a9404228888e.tar.bz2
gentoo-2-bec5e20a7b37902e97c22e7c46c4a9404228888e.zip
Version bump.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'sys-libs/uclibc++')
-rw-r--r--sys-libs/uclibc++/ChangeLog7
-rw-r--r--sys-libs/uclibc++/Manifest14
-rw-r--r--sys-libs/uclibc++/files/digest-uclibc++-0.1.91
-rw-r--r--sys-libs/uclibc++/uclibc++-0.1.9.ebuild74
4 files changed, 84 insertions, 12 deletions
diff --git a/sys-libs/uclibc++/ChangeLog b/sys-libs/uclibc++/ChangeLog
index 350e5e678773..0c05e760c1e7 100644
--- a/sys-libs/uclibc++/ChangeLog
+++ b/sys-libs/uclibc++/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/ChangeLog,v 1.2 2005/01/22 05:21:29 vapier Exp $
+
+*uclibc++-0.1.9 (22 Jan 2005)
+
+ 22 Jan 2005; Mike Frysinger <vapier@gentoo.org> +uclibc++-0.1.9.ebuild:
+ Version bump.
*uclibc++-0.1.8 (09 Jan 2004)
diff --git a/sys-libs/uclibc++/Manifest b/sys-libs/uclibc++/Manifest
index d27a00ea852c..f617d8540915 100644
--- a/sys-libs/uclibc++/Manifest
+++ b/sys-libs/uclibc++/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ebcdf62d71d1f590552ba8d07a9dc1bb uclibc++-0.1.8.ebuild 1811
MD5 50397d7582c62a0754dd5204acf0a902 ChangeLog 333
MD5 8ef75eba39772bdd1a8facc7815dbebb metadata.xml 161
+MD5 67ce81acdb07dc9b30f995b42229e791 uclibc++-0.1.8.ebuild.new 2845
+MD5 ebcdf62d71d1f590552ba8d07a9dc1bb uclibc++-0.1.9.ebuild 1811
+MD5 d567d10c1cf2efcd0954cd9b7367cd6e files/digest-uclibc++-0.1.9 64
MD5 d43392a03d5232ce855c01cb22c38007 files/0.1.8-pop_back.patch 439
MD5 a901c9aaefec85a5a52af92d49a2f09e files/digest-uclibc++-0.1.8 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.14 (GNU/Linux)
-
-iD8DBQFB5KctroRuSHgZdywRAkr3AJ9MUw6P0fMRttWxivK2xDvSNIs9awCggNnA
-jA6nlBmDFuMxmgfah8isCug=
-=0H5K
------END PGP SIGNATURE-----
diff --git a/sys-libs/uclibc++/files/digest-uclibc++-0.1.9 b/sys-libs/uclibc++/files/digest-uclibc++-0.1.9
new file mode 100644
index 000000000000..7479beca3a0f
--- /dev/null
+++ b/sys-libs/uclibc++/files/digest-uclibc++-0.1.9
@@ -0,0 +1 @@
+MD5 ebf58e04d72eab5c131c2c9118737024 uClibc++-0.1.9.tbz2 248796
diff --git a/sys-libs/uclibc++/uclibc++-0.1.9.ebuild b/sys-libs/uclibc++/uclibc++-0.1.9.ebuild
new file mode 100644
index 000000000000..bfb538add994
--- /dev/null
+++ b/sys-libs/uclibc++/uclibc++-0.1.9.ebuild
@@ -0,0 +1,74 @@
+# 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.9.ebuild,v 1.1 2005/01/22 05:21:29 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
+}