diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-09 22:29:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-09 22:29:15 +0000 |
commit | aa407d7c7f74e41aa4bf02f10e1271c1b35e7633 (patch) | |
tree | 6a56e38abf678893354d567fe9cce627e7d34461 /sys-libs/uclibc++ | |
parent | Stable on x86, bug #146117. (diff) | |
download | gentoo-2-aa407d7c7f74e41aa4bf02f10e1271c1b35e7633.tar.gz gentoo-2-aa407d7c7f74e41aa4bf02f10e1271c1b35e7633.tar.bz2 gentoo-2-aa407d7c7f74e41aa4bf02f10e1271c1b35e7633.zip |
Version bump.
(Portage version: 2.1.1_rc1-r6)
Diffstat (limited to 'sys-libs/uclibc++')
-rw-r--r-- | sys-libs/uclibc++/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/uclibc++/files/digest-uclibc++-0.1.12 | 2 | ||||
-rw-r--r-- | sys-libs/uclibc++/files/digest-uclibc++-0.2.1 | 3 | ||||
-rw-r--r-- | sys-libs/uclibc++/uclibc++-0.2.1.ebuild | 61 |
4 files changed, 72 insertions, 1 deletions
diff --git a/sys-libs/uclibc++/ChangeLog b/sys-libs/uclibc++/ChangeLog index 5ceb4a207188..5237ce3de7da 100644 --- a/sys-libs/uclibc++/ChangeLog +++ b/sys-libs/uclibc++/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/uclibc++ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/ChangeLog,v 1.5 2006/03/01 04:36:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/ChangeLog,v 1.6 2006/09/09 22:29:15 vapier Exp $ + +*uclibc++-0.2.1 (09 Sep 2006) + + 09 Sep 2006; Mike Frysinger <vapier@gentoo.org> +uclibc++-0.2.1.ebuild: + Version bump. *uclibc++-0.2.0 (01 Mar 2006) diff --git a/sys-libs/uclibc++/files/digest-uclibc++-0.1.12 b/sys-libs/uclibc++/files/digest-uclibc++-0.1.12 index d0d4a03a5472..6977c796dd4a 100644 --- a/sys-libs/uclibc++/files/digest-uclibc++-0.1.12 +++ b/sys-libs/uclibc++/files/digest-uclibc++-0.1.12 @@ -1 +1,3 @@ MD5 36603876fa97dc3860b108983147f400 uClibc++-0.1.12.tbz2 258009 +RMD160 95f8eb343bbf28c7102bbea8eb55f6c5bf70e151 uClibc++-0.1.12.tbz2 258009 +SHA256 f28f3147b251a7cfeec97cb1080d769ee2bce3a9b3afed503ce81ba2c24d7452 uClibc++-0.1.12.tbz2 258009 diff --git a/sys-libs/uclibc++/files/digest-uclibc++-0.2.1 b/sys-libs/uclibc++/files/digest-uclibc++-0.2.1 new file mode 100644 index 000000000000..1104ecdb4026 --- /dev/null +++ b/sys-libs/uclibc++/files/digest-uclibc++-0.2.1 @@ -0,0 +1,3 @@ +MD5 6e6032c49916b199ffe6a585552fd46b uClibc++-0.2.1.tar.bz2 256029 +RMD160 2e1a64e63ac3cefbcba3daee4eb2aedfc98f9a47 uClibc++-0.2.1.tar.bz2 256029 +SHA256 439841d2def03663bbe7b36d9222c3bbde02ada2ac0aabb824b8f1a7fef47067 uClibc++-0.2.1.tar.bz2 256029 diff --git a/sys-libs/uclibc++/uclibc++-0.2.1.ebuild b/sys-libs/uclibc++/uclibc++-0.2.1.ebuild new file mode 100644 index 000000000000..87f477b565b0 --- /dev/null +++ b/sys-libs/uclibc++/uclibc++-0.2.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc++/uclibc++-0.2.1.ebuild,v 1.1 2006/09/09 22:29:15 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}.tar.bz2" + +LICENSE="GPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~x86" +IUSE="debug static" + +DEPEND="" + +S=${WORKDIR}/uClibc++-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + make -s defconfig || die "defconfig failed" + + sed -i \ + -e "/^UCLIBCXX_RUNTIME_PREFIX=/s:=.*:\"/usr/${CTARGET}\"" \ + .config + use debug && echo "CONFIG_DODEBUG=y" >> .config + + yes "" | make -s 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 ARCH_CFLAGS="${CFLAGS}" CROSS=${CTARGET}- || die "make failed" +} + +src_test() { + make test || die "test failed" +} + +src_install() { + emake install DESTDIR="${D}" || die + dodir /usr/bin + dosym /usr/${CTARGET}/bin/g++-uc /usr/bin/g++-uc + dodoc ChangeLog README TODO +} |