summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2010-02-28 14:50:26 +0000
committerLuca Barbato <lu_zero@gentoo.org>2010-02-28 14:50:26 +0000
commit3424fe58fd97729a4bfbc93684b59299c1a59aa7 (patch)
treec66c6ebcee033b40c594b3d70694aa8fd2c5a4b2 /sys-libs
parentUnmask dev-java/ant 1.8.0 (bug #305929) and remove mask for 1.4 java stuff th... (diff)
downloadhistorical-3424fe58fd97729a4bfbc93684b59299c1a59aa7.tar.gz
historical-3424fe58fd97729a4bfbc93684b59299c1a59aa7.tar.bz2
historical-3424fe58fd97729a4bfbc93684b59299c1a59aa7.zip
Long delayed update
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/newlib/ChangeLog9
-rw-r--r--sys-libs/newlib/Manifest14
-rw-r--r--sys-libs/newlib/newlib-1.18.0.ebuild74
3 files changed, 84 insertions, 13 deletions
diff --git a/sys-libs/newlib/ChangeLog b/sys-libs/newlib/ChangeLog
index 5300379803ca..d4c2514e4ee9 100644
--- a/sys-libs/newlib/ChangeLog
+++ b/sys-libs/newlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/newlib
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.11 2008/06/09 17:20:17 lu_zero Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.12 2010/02/28 14:50:26 lu_zero Exp $
+
+*newlib-1.18.0 (28 Feb 2010)
+
+ 28 Feb 2010; Luca Barbato <lu_zero@gentoo.org> +newlib-1.18.0.ebuild:
+ New version
*newlib-1.16.0 (09 Jun 2008)
diff --git a/sys-libs/newlib/Manifest b/sys-libs/newlib/Manifest
index cdbb3473169a..b930fef21865 100644
--- a/sys-libs/newlib/Manifest
+++ b/sys-libs/newlib/Manifest
@@ -1,21 +1,13 @@
------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.tar.gz 12024353 RMD160 fa40ff43e858da3093c9f3b5b203724b9b327696 SHA1 841edec33d19a9e549984982fb92445ee967e265 SHA256 db426394965c48c1d29023e1cc6d965ea6b9a9035d8a849be2750ca4659a3d07
DIST newlib-1.16.0_pre20071025.tar.bz2 7524018 RMD160 1229d4d41d9309ddcf387fe0c7f641cfd6f18d01 SHA1 1d4543d255b4040a5d25d83abae7a82a446df814 SHA256 4687572a42b7168a97e4540901b7651335cd8cbc07df4cc3e1c5c3525bd53384
+DIST newlib-1.18.0.tar.gz 13598301 RMD160 69d96fd323a23857072f30cb51899040099857cd SHA1 a47d3b8a508304143334b36bdb5b33786a61ce94 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071
EBUILD newlib-1.14.0.ebuild 2010 RMD160 7d70de247838d1c920dc49afda7fdf234b583504 SHA1 838de37637e9cfe4ab40cae5fffc6183f59f26bf SHA256 4f895e8597f43a5d36f00f5677edf88ce721388bdb131590ff7d8cf2a4764a48
EBUILD newlib-1.15.0.ebuild 1932 RMD160 c5a69506a23c7e5afd5988d2d53d4cd9f912e061 SHA1 fb311aac7fdffd0dfeb219293d4046b186f857ca SHA256 27af6cea5ef497e90379dcc8ff0fbb908f6cd30503282cbf0c791eecaceb4a0b
EBUILD newlib-1.16.0.ebuild 1933 RMD160 cbd71347282004997b8851f24a64572f21f755b5 SHA1 bdad92eecacb30283759c49888a542f1dd0f5e3b SHA256 9a890cf9d3a77cbfe2b13254ee19868ccfc3fd96d7c6ae832d67cb935b457978
EBUILD newlib-1.16.0_pre20071025.ebuild 1948 RMD160 a29a0d70d82dce40fc9653f2628a64ab78b4d94a SHA1 58ef872071955d34041f9091e5d0da891bb95b8c SHA256 552cce66374b4491bdbda1b27df61bb32ebf8c8f88ad9d29065945636e890cd6
-MISC ChangeLog 1816 RMD160 51e949a10b352cda936b95cedb695d7a5a8bb2e9 SHA1 6e6b8117934bc246b172a1cd62a4896fc109315f SHA256 eb234f9d683809b278f0d3853afda94c4d220d2d03199f9e1e8c4355647f466e
+EBUILD newlib-1.18.0.ebuild 1934 RMD160 1e326a8448cb5146eecc87b265bcf12330368800 SHA1 cb2f2557938ba9a07eaa62820dcb9b888a62dd27 SHA256 668513c04d6aacc0d07de3cdbfb978d00daef47c3e068640a000231aca5c853e
+MISC ChangeLog 1933 RMD160 4cf7b8a6722e5c1ea5d575b0abc62d323d3fe3cb SHA1 f2276ba7c551ea06ffadf5da5750b2ed351b2a9d SHA256 1d386cf79ee9791d2f8578e7e5d38a0628a9c28e955c4191dd6a3cdb03e0aa92
MISC metadata.xml 223 RMD160 f3503c1d2d441f248d9ab96397befec4ee8a952d SHA1 77b37f3782875cc566e33c72b4536df86ff96df3 SHA256 d0effd32fc7c73c97f14108c4bdb0c2636af5763f7c0a987ad7ea264921a827f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkFZvQACgkQ67wieSYcaxdfmwCbB26MgGamLferPDaUMeutgj3k
-OIUAn1tWN/ISxjM8tmPmLJH8LkeFdBIn
-=Q7zQ
------END PGP SIGNATURE-----
diff --git a/sys-libs/newlib/newlib-1.18.0.ebuild b/sys-libs/newlib/newlib-1.18.0.ebuild
new file mode 100644
index 000000000000..a68cebecbda6
--- /dev/null
+++ b/sys-libs/newlib/newlib-1.18.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild,v 1.1 2010/02/28 14:50:26 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="ftp://sources.redhat.com/pub/newlib/${P}.tar.gz"
+
+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 crosscompile_opts_headers-only"
+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
+ [[ $(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
+}