summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2007-10-25 06:24:24 +0000
committerLuca Barbato <lu_zero@gentoo.org>2007-10-25 06:24:24 +0000
commit67a1e2a72ee4f3e189b180b3aadb4a2c9feec3b6 (patch)
tree9521364cd52118f9f6026f107ed43cb2247a9d91 /sys-libs/newlib
parentusing SITELISP variable from elisp.eclass instead of hard-coded path (diff)
downloadhistorical-67a1e2a72ee4f3e189b180b3aadb4a2c9feec3b6.tar.gz
historical-67a1e2a72ee4f3e189b180b3aadb4a2c9feec3b6.tar.bz2
historical-67a1e2a72ee4f3e189b180b3aadb4a2c9feec3b6.zip
New snapshot, avoid strip completely
Package-Manager: portage-2.1.3.15
Diffstat (limited to 'sys-libs/newlib')
-rw-r--r--sys-libs/newlib/ChangeLog8
-rw-r--r--sys-libs/newlib/Manifest26
-rw-r--r--sys-libs/newlib/files/digest-newlib-1.16.0_pre200710253
-rw-r--r--sys-libs/newlib/newlib-1.16.0_pre20071025.ebuild75
4 files changed, 97 insertions, 15 deletions
diff --git a/sys-libs/newlib/ChangeLog b/sys-libs/newlib/ChangeLog
index 8627522c404e..daf29f5910ca 100644
--- a/sys-libs/newlib/ChangeLog
+++ b/sys-libs/newlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/newlib
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.9 2007/03/19 15:50:47 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.10 2007/10/25 06:24:23 lu_zero Exp $
+
+*newlib-1.16.0_pre20071025 (25 Oct 2007)
+
+ 25 Oct 2007; Luca Barbato <lu_zero@gentoo.org>
+ +newlib-1.16.0_pre20071025.ebuild:
+ New snapshot, avoid strip completely
19 Mar 2007; Luca Barbato <lu_zero@gentoo.org> newlib-1.15.0.ebuild:
Removed multilib useflag
diff --git a/sys-libs/newlib/Manifest b/sys-libs/newlib/Manifest
index af1870598594..584f240b03e3 100644
--- a/sys-libs/newlib/Manifest
+++ b/sys-libs/newlib/Manifest
@@ -1,9 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST newlib-1.14.0-spu.patch.bz2 38900 RMD160 d8f90ef2c27ef42c80dc03b4b1e1d1e3bd0f39d3 SHA1 24f66deb65e72eb04724ac3346bfe5026fa4091f SHA256 09bb372bb8d26b9b6f3122f05a473e6850999de5f6408bf9a5bbc1f69554b640
DIST newlib-1.14.0.tar.gz 7981432 RMD160 6f2b3f32759925142421ddc069229eff857dd106 SHA1 edc50f5cda734b50c5431a2b8d1e579ac82ce3f9 SHA256 7db55671132c2943dbbdadfaa954915c23dbc329168575a42bb940ef4bf50a23
DIST newlib-1.15.0.tar.gz 10709842 RMD160 e57cbb5b3f007ec26a4ec62f5652e23523357001 SHA1 f6860b36e48fb831a30bab491230bbc7ce2669a2 SHA256 c4496102d38c59d1a47ddd5481af35caa1f65b76e2a94d9607737e17fd9e4465
+DIST newlib-1.16.0_pre20071025.tar.bz2 7524018 RMD160 1229d4d41d9309ddcf387fe0c7f641cfd6f18d01 SHA1 1d4543d255b4040a5d25d83abae7a82a446df814 SHA256 4687572a42b7168a97e4540901b7651335cd8cbc07df4cc3e1c5c3525bd53384
EBUILD newlib-1.14.0.ebuild 1979 RMD160 aac440a11dc3f92394d43292647fa57f76dcef66 SHA1 d247ec3a503c7412c84fbbd5126bbd5b5628766e SHA256 9b339898600a8b7024e01ee6c8fc699c089e799012ea8583917b8c5b90937329
MD5 86f7c37c918b55f9f5c82a5e6ba20419 newlib-1.14.0.ebuild 1979
RMD160 aac440a11dc3f92394d43292647fa57f76dcef66 newlib-1.14.0.ebuild 1979
@@ -12,10 +10,14 @@ EBUILD newlib-1.15.0.ebuild 1901 RMD160 5daa6071f9722db6fc4c434332926f1839555357
MD5 2d0208e74341f4e1f7cae643e30372a4 newlib-1.15.0.ebuild 1901
RMD160 5daa6071f9722db6fc4c434332926f1839555357 newlib-1.15.0.ebuild 1901
SHA256 faddd262996dc530acfb3b39dfd771bbe03981a406c62fd93a75630f7fe23f4a newlib-1.15.0.ebuild 1901
-MISC ChangeLog 1530 RMD160 0972597218622287fe66096c6d2c38d524767b35 SHA1 ae30d6c802d3d934e3bfb88c5bc5098e8588716c SHA256 43ef488ebd7d06e21a76850343929566e00e3921189e5a81b9866defba9cb6c4
-MD5 aee70de87709f19bb3b5be7047b238ff ChangeLog 1530
-RMD160 0972597218622287fe66096c6d2c38d524767b35 ChangeLog 1530
-SHA256 43ef488ebd7d06e21a76850343929566e00e3921189e5a81b9866defba9cb6c4 ChangeLog 1530
+EBUILD newlib-1.16.0_pre20071025.ebuild 1918 RMD160 e6e3be9d45be7a70c943ee73cf67ff446c5e6397 SHA1 5112267fdea06311a2d056bb391d1f0bc48c7552 SHA256 a12012cbd3ea583bcae982132cc1e7375c7c1815d6e24cbdcec7b640eec8258b
+MD5 1b427690803d7e3d51a97bd65fc5ef41 newlib-1.16.0_pre20071025.ebuild 1918
+RMD160 e6e3be9d45be7a70c943ee73cf67ff446c5e6397 newlib-1.16.0_pre20071025.ebuild 1918
+SHA256 a12012cbd3ea583bcae982132cc1e7375c7c1815d6e24cbdcec7b640eec8258b newlib-1.16.0_pre20071025.ebuild 1918
+MISC ChangeLog 1699 RMD160 c529260e7a44d4e3923939c2bb1ac73bb0af9c3a SHA1 ef58db34893d66b643cac872262459219a347098 SHA256 105d70c65db05372418b22ccbc9fc4627561ee2b4693a6a27e4cb0e0b163e789
+MD5 89ab77a099e73f6fe7ee1d295d830912 ChangeLog 1699
+RMD160 c529260e7a44d4e3923939c2bb1ac73bb0af9c3a ChangeLog 1699
+SHA256 105d70c65db05372418b22ccbc9fc4627561ee2b4693a6a27e4cb0e0b163e789 ChangeLog 1699
MISC metadata.xml 223 RMD160 f3503c1d2d441f248d9ab96397befec4ee8a952d SHA1 77b37f3782875cc566e33c72b4536df86ff96df3 SHA256 d0effd32fc7c73c97f14108c4bdb0c2636af5763f7c0a987ad7ea264921a827f
MD5 7c1c8e9dbaf579e37b0707f85f905a51 metadata.xml 223
RMD160 f3503c1d2d441f248d9ab96397befec4ee8a952d metadata.xml 223
@@ -26,10 +28,6 @@ SHA256 ee44c964c8c2bbdb7b8815557862fdfcbc9c2a7c287647d8ab911e2b92c325b2 files/di
MD5 0d1358515b962ba13e87319011b7c188 files/digest-newlib-1.15.0 247
RMD160 a6384a117df691d493d9d53aee4388b83805dc0b files/digest-newlib-1.15.0 247
SHA256 054f8858a5423c96565b3298096bdf828271e469681ff457ddf3c55e79d4118e files/digest-newlib-1.15.0 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
-
-iD8DBQFGaeve8bi6rjpTunYRAuMwAKCO8Ow2L6EslYZcf10Il4SiZkH5pACgtea3
-mTrBNHtE2j9Plf1V3GDH+yw=
-=pXQa
------END PGP SIGNATURE-----
+MD5 0a30c0dbd42b068a16e2b31bd4f528d9 files/digest-newlib-1.16.0_pre20071025 283
+RMD160 7fb3b85efea554d331d711d22f4b3a3fa3d115ab files/digest-newlib-1.16.0_pre20071025 283
+SHA256 58468e39c38d464810c0271e6e64a4c7dd772fdec05ae4185fe4a239da6d231f files/digest-newlib-1.16.0_pre20071025 283
diff --git a/sys-libs/newlib/files/digest-newlib-1.16.0_pre20071025 b/sys-libs/newlib/files/digest-newlib-1.16.0_pre20071025
new file mode 100644
index 000000000000..849028a35948
--- /dev/null
+++ b/sys-libs/newlib/files/digest-newlib-1.16.0_pre20071025
@@ -0,0 +1,3 @@
+MD5 54afe931cd1748266bd98da924e72515 newlib-1.16.0_pre20071025.tar.bz2 7524018
+RMD160 1229d4d41d9309ddcf387fe0c7f641cfd6f18d01 newlib-1.16.0_pre20071025.tar.bz2 7524018
+SHA256 4687572a42b7168a97e4540901b7651335cd8cbc07df4cc3e1c5c3525bd53384 newlib-1.16.0_pre20071025.tar.bz2 7524018
diff --git a/sys-libs/newlib/newlib-1.16.0_pre20071025.ebuild b/sys-libs/newlib/newlib-1.16.0_pre20071025.ebuild
new file mode 100644
index 000000000000..bb773cf56791
--- /dev/null
+++ b/sys-libs/newlib/newlib-1.16.0_pre20071025.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.16.0_pre20071025.ebuild,v 1.1 2007/10/25 06:24:23 lu_zero Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+# Handle the case where we want newlib on glibc ...
+if [[ ${CTARGET} == ${CHOST} ]] && [[ ${CHOST} != *-newlib ]] ; then
+ export CTARGET=${CHOST%%-*}-pc-linux-newlib
+fi
+
+DESCRIPTION="Newlib is a C library intended for use on embedded systems"
+HOMEPAGE="http://sourceware.org/newlib/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="NEWLIB LIBGLOSS GPL-2"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
+KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="nls threads unicode"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND=""
+
+NEWLIBBUILD="${WORKDIR}/build"
+S="${WORKDIR}/newlib"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p "${NEWLIBBUILD}"
+}
+
+src_compile() {
+ # we should fix this ...
+ unset LDFLAGS
+ CHOST=${CTARGET} strip-unsupported-flags
+
+ local myconf=""
+ # hardwired to avoid breakages
+ [[ $(tc-is-softfloat) != "no" ]] \
+ && myconf="--disable-newlib-hw-fp" \
+ || myconf="--enable-newlib-hw-fp"
+ [[ ${CTARGET} == "spu" ]] \
+ && myconf="${myconf} --disable-threads" \
+ || myconf="${myconf} $(use_enable threads)"
+
+ cd "${NEWLIBBUILD}"
+
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable unicode newlib-mb) \
+ $(use_enable nls) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd "${NEWLIBBUILD}"
+ emake -j1 DESTDIR="${D}" install
+# env -uRESTRICT CHOST=${CTARGET} prepallstrip
+ # minor hack to keep things clean
+ rm -fR "${D}"/usr/share/info
+ rm -fR "${D}"/usr/info
+}