# ChangeLog for sys-libs/newlib
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.4 2006/12/10 00:46:54 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.5 2006/12/19 13:43:39 lu_zero Exp $
+
+*newlib-1.15.0 (19 Dec 2006)
+
+ 19 Dec 2006; Luca Barbato <lu_zero@gentoo.org> +newlib-1.15.0.ebuild:
+ New version
10 Dec 2006; Luca Barbato <lu_zero@gentoo.org> newlib-20061203.ebuild:
Avoid info collision, thanks to truedfx bug #157647
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-20061203.tar.bz2 6664575 RMD160 ad4b1495e4fd7e94060a63b27719fb18d3b3082d SHA1 862092246012a43446384f7961a50efacb98792b SHA256 900fd7d076367f36594c87f422513dbf7b46045a27f20c25954807af3705d320
EBUILD newlib-1.14.0.ebuild 1928 RMD160 a0b64d6784524cb1163e6a0f2144aae61dbe501c SHA1 b7f10343282b67cb5ec4b8eb997c496c337aeed7 SHA256 2415387c5a19413b66af2130a8bf343c2600327d37306a9b492c752aaf19b212
MD5 7c51017a2930d2f43ee041639f065d3e newlib-1.14.0.ebuild 1928
RMD160 a0b64d6784524cb1163e6a0f2144aae61dbe501c newlib-1.14.0.ebuild 1928
SHA256 2415387c5a19413b66af2130a8bf343c2600327d37306a9b492c752aaf19b212 newlib-1.14.0.ebuild 1928
+EBUILD newlib-1.15.0.ebuild 1887 RMD160 ac723e4abf9215b14836a742b5345c8b3679e2ed SHA1 806b3b9edf90ebc4f0a4bf7c158e230a60463d67 SHA256 6b7a74c08289c923a11d7d4d8ddc8e8c0873ff9339183cf9eda0827978d365be
+MD5 c563cac23fdd8ecdf361c38a4ecb0405 newlib-1.15.0.ebuild 1887
+RMD160 ac723e4abf9215b14836a742b5345c8b3679e2ed newlib-1.15.0.ebuild 1887
+SHA256 6b7a74c08289c923a11d7d4d8ddc8e8c0873ff9339183cf9eda0827978d365be newlib-1.15.0.ebuild 1887
EBUILD newlib-20061203.ebuild 1892 RMD160 9e3c5bfa890ac0160186d8d1dc6166c9a035662f SHA1 002b1080fd9f6f6ab090316c163e01f08b450610 SHA256 fe720ba7367921fb9ae36c8881aadbef0616bc0b1f5f39d7e67e98eaae7ff3ec
MD5 86130a097ae6ef57c8ae9eb17caac3b1 newlib-20061203.ebuild 1892
RMD160 9e3c5bfa890ac0160186d8d1dc6166c9a035662f newlib-20061203.ebuild 1892
SHA256 fe720ba7367921fb9ae36c8881aadbef0616bc0b1f5f39d7e67e98eaae7ff3ec newlib-20061203.ebuild 1892
-MISC ChangeLog 794 RMD160 e88dd42437c83a533af2a5b8de58b4fd909d69cd SHA1 d1d6ded0a4e20fda59af753460afbf0a63d5c7b1 SHA256 5e2360225da6b3baa7e2bc0357aa01e2a31a1c46bd1912ea7f79a06ea6cce87c
-MD5 de9efb2105b44c209bceefe82e8aacbb ChangeLog 794
-RMD160 e88dd42437c83a533af2a5b8de58b4fd909d69cd ChangeLog 794
-SHA256 5e2360225da6b3baa7e2bc0357aa01e2a31a1c46bd1912ea7f79a06ea6cce87c ChangeLog 794
+MISC ChangeLog 911 RMD160 d16b6f588e5f29583b6586ccb1669171ae46afed SHA1 404c55081fb6be07720c4d85da033c929b0e8055 SHA256 bb2d42350e83c12bd83622279ade09e30db1eacda2156e30dbb2e10eeea4c320
+MD5 825c2d694d22d08ab3e4feb2b693a5fb ChangeLog 911
+RMD160 d16b6f588e5f29583b6586ccb1669171ae46afed ChangeLog 911
+SHA256 bb2d42350e83c12bd83622279ade09e30db1eacda2156e30dbb2e10eeea4c320 ChangeLog 911
MISC metadata.xml 223 RMD160 f3503c1d2d441f248d9ab96397befec4ee8a952d SHA1 77b37f3782875cc566e33c72b4536df86ff96df3 SHA256 d0effd32fc7c73c97f14108c4bdb0c2636af5763f7c0a987ad7ea264921a827f
MD5 7c1c8e9dbaf579e37b0707f85f905a51 metadata.xml 223
RMD160 f3503c1d2d441f248d9ab96397befec4ee8a952d metadata.xml 223
MD5 20a3f08c9ad9c0baa6dad879f5d3f89c files/digest-newlib-1.14.0 503
RMD160 12e974f2f8bbde6c76795dea94905820e2833738 files/digest-newlib-1.14.0 503
SHA256 ee44c964c8c2bbdb7b8815557862fdfcbc9c2a7c287647d8ab911e2b92c325b2 files/digest-newlib-1.14.0 503
+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
MD5 0e0bdba160a4ef81d0162381fb480fee files/digest-newlib-20061203 253
RMD160 176305ceb906297317d22791f10408aa87fa1fd3 files/digest-newlib-20061203 253
SHA256 8df05228d99aee408579a9575a9eebc0f1cdceefe7fdfc92f75ccff42a5900f4 files/digest-newlib-20061203 253
--- /dev/null
+MD5 4020004b1b7a56ca4cf7f6d35b40a4cb newlib-1.15.0.tar.gz 10709842
+RMD160 e57cbb5b3f007ec26a4ec62f5652e23523357001 newlib-1.15.0.tar.gz 10709842
+SHA256 c4496102d38c59d1a47ddd5481af35caa1f65b76e2a94d9607737e17fd9e4465 newlib-1.15.0.tar.gz 10709842
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.15.0.ebuild,v 1.1 2006/12/19 13:43:39 lu_zero Exp $
+
+inherit eutils flag-o-matic
+
+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="ftp://sources.redhat.com/pub/newlib/${P}.tar.gz"
+
+LICENSE="NEWLIB LIBGLOSS GPL-2"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
+KEYWORDS="-* ~ppc64 ~ppc"
+IUSE="nls threads unicode multilib"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND=""
+
+NEWLIBBUILD="${WORKDIR}/build"
+
+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
+ [[ ${CTARGET} == *-softfloat-* ]] \
+ && 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) \
+ $(use_enable multilib) \
+ ${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
+}