diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-10-07 18:32:09 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-10-07 18:32:09 +0000 |
commit | 1031f3fa12c047604edec2a41753848f563b4aba (patch) | |
tree | 07674f712a821fbc236a71d2a6a7456ef660b3c6 /dev-lang/nacl-toolchain-newlib | |
parent | Version bump to 0.8.0 (diff) | |
download | gentoo-2-1031f3fa12c047604edec2a41753848f563b4aba.tar.gz gentoo-2-1031f3fa12c047604edec2a41753848f563b4aba.tar.bz2 gentoo-2-1031f3fa12c047604edec2a41753848f563b4aba.zip |
Version bump, applied upstream suggestions. It's simpler now.
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'dev-lang/nacl-toolchain-newlib')
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6869.ebuild | 79 |
2 files changed, 86 insertions, 1 deletions
diff --git a/dev-lang/nacl-toolchain-newlib/ChangeLog b/dev-lang/nacl-toolchain-newlib/ChangeLog index 391db6e4b179..c3f5ffb86510 100644 --- a/dev-lang/nacl-toolchain-newlib/ChangeLog +++ b/dev-lang/nacl-toolchain-newlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/nacl-toolchain-newlib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.1 2011/10/06 18:52:19 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.2 2011/10/07 18:32:09 phajdan.jr Exp $ + +*nacl-toolchain-newlib-0_p6869 (07 Oct 2011) + + 07 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + +nacl-toolchain-newlib-0_p6869.ebuild: + Version bump, applied upstream suggestions. It's simpler now. *nacl-toolchain-newlib-0_p6852 (06 Oct 2011) diff --git a/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6869.ebuild b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6869.ebuild new file mode 100644 index 000000000000..5d7ad033e36c --- /dev/null +++ b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6869.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6869.ebuild,v 1.1 2011/10/07 18:32:07 phajdan.jr Exp $ + +EAPI="4" + +inherit eutils multilib + +BINUTILS_PV="2.20.1" +NEWLIB_PV="1.18.0" +GCC_PV="4.4.3" +NACL_REVISION="${PV##*_p}" + +DESCRIPTION="Native Client newlib-based toolchain (only for compiling IRT)" +HOMEPAGE="http://code.google.com/chrome/nativeclient/" +SRC_URI="mirror://gnu/binutils/binutils-${BINUTILS_PV}.tar.bz2 + ftp://sources.redhat.com/pub/newlib/newlib-${NEWLIB_PV}.tar.gz + mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2 + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/nacltoolchain-buildscripts-r${NACL_REVISION}.tar.gz + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclbinutils-${BINUTILS_PV}-r${NACL_REVISION}.patch.bz2 + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclnewlib-${NEWLIB_PV}-r${NACL_REVISION}.patch.bz2 + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclgcc-${GCC_PV}-r${NACL_REVISION}.patch.bz2 +" + +LICENSE="BSD" # NaCl +LICENSE+=" || ( GPL-3 LGPL-3 )" # binutils +LICENSE+=" NEWLIB LIBGLOSS GPL-2" # newlib +LICENSE+=" GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" # gcc + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-arch/zip + app-arch/unzip + >=dev-libs/gmp-5.0.2 + dev-libs/mpc + >=dev-libs/mpfr-3.0.1 + dev-libs/cloog-ppl + dev-libs/ppl + >=media-libs/libart_lgpl-2.1 + >=sys-apps/texinfo-4.8 + >=sys-devel/binutils-2.15.94 + >=sys-devel/bison-1.875 + >=sys-devel/flex-2.5.4 + sys-devel/gnuconfig + sys-devel/m4 + >=sys-libs/glibc-2.8 + >=sys-libs/ncurses-5.2-r2 + >=sys-libs/zlib-1.1.4 + >=sys-apps/sed-4 + sys-devel/gettext + virtual/libiconv + virtual/yacc +" +RDEPEND=">=sys-libs/zlib-1.1.4" + +S="${WORKDIR}" + +src_prepare() { + mkdir SRC || die + mv binutils-${BINUTILS_PV} SRC/binutils || die + mv newlib-${NEWLIB_PV} SRC/newlib || die + mv gcc-${GCC_PV} SRC/gcc || die + cd SRC || die + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${S}" +} + +src_compile() { + emake PREFIX="${PWD}/${PN}" CANNED_REVISION="yes" build-with-newlib +} + +src_install() { + local TOOLCHAIN_HOME="/usr/$(get_libdir)" + dodir "${TOOLCHAIN_HOME}" + insinto "${TOOLCHAIN_HOME}" + doins -r "${WORKDIR}/${PN}" +} |