diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-22 05:21:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-22 05:21:29 +0000 |
commit | 2402f0d49149ddbb66edea15dad48053d67dde1b (patch) | |
tree | 6cad1f7ca581562012d277b0be35e69d166bbf2d /sys-libs/uclibc++ | |
parent | QA fix - correct man path (diff) | |
download | historical-2402f0d49149ddbb66edea15dad48053d67dde1b.tar.gz historical-2402f0d49149ddbb66edea15dad48053d67dde1b.tar.bz2 historical-2402f0d49149ddbb66edea15dad48053d67dde1b.zip |
Version bump.
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'sys-libs/uclibc++')
-rw-r--r-- | sys-libs/uclibc++/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/uclibc++/Manifest | 12 | ||||
-rw-r--r-- | sys-libs/uclibc++/files/digest-uclibc++-0.1.9 | 1 | ||||
-rw-r--r-- | sys-libs/uclibc++/uclibc++-0.1.9.ebuild | 74 |
4 files changed, 88 insertions, 6 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..8cd910ee1439 100644 --- a/sys-libs/uclibc++/Manifest +++ b/sys-libs/uclibc++/Manifest @@ -1,15 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 ebcdf62d71d1f590552ba8d07a9dc1bb uclibc++-0.1.8.ebuild 1811 -MD5 50397d7582c62a0754dd5204acf0a902 ChangeLog 333 +MD5 41f3ea082a8a6ba853c108c368e398d4 ChangeLog 455 MD5 8ef75eba39772bdd1a8facc7815dbebb metadata.xml 161 +MD5 ebcdf62d71d1f590552ba8d07a9dc1bb uclibc++-0.1.8.ebuild 1811 +MD5 dfd27ed6e59f4d6914f4ac2122c38868 uclibc++-0.1.9.ebuild 1755 +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 +iD8DBQFB8eMUroRuSHgZdywRAsvBAJ9DKNIh+QafjOX4v4T2NeVwCG9RQACfYhlV +ohn63DnN109u/q2yOTaLyEs= +=2s+l -----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 +} |