public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in sys-libs/newlib: ChangeLog newlib-1.18.0.ebuild
@ 2010-02-28 14:50 99% Luca Barbato (lu_zero)
  0 siblings, 0 replies; 1+ results
From: Luca Barbato (lu_zero) @ 2010-02-28 14:50 UTC (permalink / raw
  To: gentoo-commits

lu_zero     10/02/28 14:50:27

  Modified:             ChangeLog
  Added:                newlib-1.18.0.ebuild
  Log:
  Long delayed update
  (Portage version: 2.1.7.17/cvs/Linux x86_64)

Revision  Changes    Path
1.12                 sys-libs/newlib/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/newlib/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/newlib/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/newlib/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	9 Jun 2008 17:20:17 -0000	1.11
+++ ChangeLog	28 Feb 2010 14:50:26 -0000	1.12
@@ -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)
 



1.1                  sys-libs/newlib/newlib-1.18.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild?rev=1.1&content-type=text/plain

Index: newlib-1.18.0.ebuild
===================================================================
# 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
}






^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-02-28 14:50 99% [gentoo-commits] gentoo-x86 commit in sys-libs/newlib: ChangeLog newlib-1.18.0.ebuild Luca Barbato (lu_zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox