diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-10-06 18:52:19 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-10-06 18:52:19 +0000 |
commit | 9d9bdbb23d705c4b3f9c766b3ddf0e5896cc64de (patch) | |
tree | fdd35a004bade998eb2a8d40984ae89099c7080f | |
parent | Migrate rc ebuilds to point to git.kernel.org which is back online (diff) | |
download | historical-9d9bdbb23d705c4b3f9c766b3ddf0e5896cc64de.tar.gz historical-9d9bdbb23d705c4b3f9c766b3ddf0e5896cc64de.tar.bz2 historical-9d9bdbb23d705c4b3f9c766b3ddf0e5896cc64de.zip |
Initial import.
Package-Manager: portage-2.1.10.11/cvs/Linux i686
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/Manifest | 25 | ||||
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/metadata.xml | 5 | ||||
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6852.ebuild | 95 |
4 files changed, 135 insertions, 0 deletions
diff --git a/dev-lang/nacl-toolchain-newlib/ChangeLog b/dev-lang/nacl-toolchain-newlib/ChangeLog new file mode 100644 index 000000000000..391db6e4b179 --- /dev/null +++ b/dev-lang/nacl-toolchain-newlib/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*nacl-toolchain-newlib-0_p6852 (06 Oct 2011) + + 06 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + +nacl-toolchain-newlib-0_p6852.ebuild, +metadata.xml: + Initial import. + diff --git a/dev-lang/nacl-toolchain-newlib/Manifest b/dev-lang/nacl-toolchain-newlib/Manifest new file mode 100644 index 000000000000..da8ec3dce5ce --- /dev/null +++ b/dev-lang/nacl-toolchain-newlib/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +DIST binutils-2.20.1.tar.bz2 17591527 RMD160 aebf86b8ae126fabd52450a81c7d491c40ff851d SHA1 3f0e3746a15f806a95dd079be2a7f43c17b18818 SHA256 71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64 +DIST cloog-ppl-0.15.9.tar.gz 767694 RMD160 659d400c25de6430006346d1f554194db9c3ee06 SHA1 08c9458dbccaa3a7522156580f814dc14399febd SHA256 8c54d4bca186cb66671e07540aec276d5f8ad013ae8867294576b431cbb142a5 +DIST gcc-4.4.3.tar.bz2 62944934 RMD160 b51afac3cb77ee3dc09d29c2f85936482ed82ab2 SHA1 619766282734728539ce58a5c383cb371f1999c7 SHA256 97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040 +DIST gmp-5.0.2.tar.bz2 2024576 RMD160 fce06e3246f067301a54f3457960f1d6d71adfc2 SHA1 2968220e1988eabb61f921d11e5d2db5431e0a35 SHA256 dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28 +DIST mpc-0.9.tar.gz 565953 RMD160 63d5fb8ab2725839e7565716c4d20187b606e2c8 SHA1 229722d553030734d49731844abfef7617b64f1a SHA256 fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac +DIST mpfr-3.0.1.tar.bz2 1154306 RMD160 24c84d762428959ad2db7521df8bc219c81f83b5 SHA1 fbf402fc196724ae60ef01eb6ca8490b1ea4db69 SHA256 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f +DIST naclbinutils-2.20.1-r6852.patch 116209 RMD160 d1b82268d08f9a458d74226679e36edf6e083a7e SHA1 71c2611688875683626829f08127542636c7b4f6 SHA256 c6ff930b39b9982d49347864e99ba21e611d655e6a5ced4cf9062d3a710c5086 +DIST naclgcc-4.4.3-r6852.patch 155601 RMD160 a7fe43f9e7ef34e11a478ff4147b27a1c62be6d3 SHA1 67c1b9c72fd09abec545282d036e47255a05e2c8 SHA256 657679445010d1877137740ed7638d6a9744cd39fdf13ea566be32c0847aec94 +DIST naclnewlib-1.18.0-r6852.patch 434670 RMD160 1183289426f19f19924adb6322a38def3e104fe1 SHA1 6b9dc1770ec081baa056b0384dca57686987e62d SHA256 37b560a80952b8f55b22d2324616a607ce353b04f994c4db659a47606c76b511 +DIST nacltoolchain-buildscripts-r6852.tar.gz 20027 RMD160 59ec96be92447b9e2eb288f959000e54e4280d9d SHA1 a2f5a604dfc79dec6cd91cc78f14cb9be1a80dbb SHA256 8f5f9588c30294cef28cab9efdd791a5c71b55b771b44b9e3802835f6ed759dd +DIST newlib-1.18.0.tar.gz 13598301 RMD160 69d96fd323a23857072f30cb51899040099857cd SHA1 a47d3b8a508304143334b36bdb5b33786a61ce94 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071 +DIST ppl-0.11.2.tar.bz2 12348525 RMD160 68dd335f6e94df09ac4e19ccf08f1c1b280efe86 SHA1 915f1d8a7def10e540bf2806babf94dccd15852a SHA256 e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e8cbbeb +EBUILD nacl-toolchain-newlib-0_p6852.ebuild 3217 RMD160 97f94b895443702ad8e82c7fc9f8fc2e8b43f9fc SHA1 eabbb4bcee117fdba480d51a211540bca015f14d SHA256 89004add3c353f5170d8f3e52add704704e5da260102e5458f510431d04a2d6f +MISC ChangeLog 413 RMD160 6a3feea90f1d562513630cd2a1b6cea4cc353b5f SHA1 6d4e3c41aa965d6351954f03850841075d612eaa SHA256 d41cfdcd5101c92dfd7531797592bc752c7b484f17f7153aa9c265a3d9fd905a +MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEAREKAAYFAk6N+PMACgkQuUQtlDBCeQKHsACghi7LC6nCtzZeMcR5sZKf5gAy +wt8An3eKOjbyBm4xV9Qw91TayDb/lSl+ +=DavD +-----END PGP SIGNATURE----- diff --git a/dev-lang/nacl-toolchain-newlib/metadata.xml b/dev-lang/nacl-toolchain-newlib/metadata.xml new file mode 100644 index 000000000000..fffcfc8b794e --- /dev/null +++ b/dev-lang/nacl-toolchain-newlib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>chromium</herd> +</pkgmetadata> diff --git a/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6852.ebuild b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6852.ebuild new file mode 100644 index 000000000000..567f5ed24438 --- /dev/null +++ b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p6852.ebuild @@ -0,0 +1,95 @@ +# 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_p6852.ebuild,v 1.1 2011/10/06 18:52:19 phajdan.jr Exp $ + +EAPI="4" + +inherit eutils multilib + +BINUTILS_PV="2.20.1" +NEWLIB_PV="1.18.0" +GCC_PV="4.4.3" +GMP_PV="5.0.2" +MPFR_PV="3.0.1" +MPC_PV="0.9" +PPL_PV="0.11.2" +CLOOG_PPL_PV="0.15.9" +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 + mirror://gnu/gmp/gmp-${GMP_PV}.tar.bz2 + http://www.mpfr.org/mpfr-${MPFR_PV}/mpfr-${MPFR_PV}.tar.bz2 + http://www.multiprecision.org/mpc/download/mpc-${MPC_PV}.tar.gz + http://www.cs.unipr.it/ppl/Download/ftp/releases/ppl-${PPL_PV}/ppl-${PPL_PV}.tar.bz2 + ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-${CLOOG_PPL_PV}.tar.gz + 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 + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclnewlib-${NEWLIB_PV}-r${NACL_REVISION}.patch + http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclgcc-${GCC_PV}-r${NACL_REVISION}.patch +" + +LICENSE="BSD" # NaCl +LICENSE+=" || ( GPL-3 LGPL-3 )" # binutils +LICENSE+=" GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" # gcc +LICENSE+=" LGPL-3" # gmp +LICENSE+=" LGPL-2.1" # mpfr, mpc +LICENSE+=" GPL-3" # ppl +LICENSE+=" GPL-2" # cloog-ppl + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-arch/zip + app-arch/unzip + >=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() { + mv binutils-${BINUTILS_PV} naclbinutils-${BINUTILS_PV}-r${NACL_REVISION} || die + mv newlib-${NEWLIB_PV} naclnewlib-${NEWLIB_PV}-r${NACL_REVISION} || die + mv gcc-${GCC_PV} naclgcc-${GCC_PV}-r${NACL_REVISION} || die + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${DISTDIR}" + mkdir SRC || die + mv naclbinutils-${BINUTILS_PV}-r${NACL_REVISION} SRC/binutils || die + mv naclnewlib-${NEWLIB_PV}-r${NACL_REVISION} SRC/newlib || die + mv naclgcc-${GCC_PV}-r${NACL_REVISION} SRC/gcc || die + + mv gmp-${GMP_PV} SRC || die + mv mpfr-${MPFR_PV} SRC || die + mv mpc-${MPC_PV} SRC || die + mv ppl-${PPL_PV} SRC || die + mv cloog-ppl-${CLOOG_PPL_PV} SRC || die +} + +src_compile() { + emake TOOLCHAINNAME="${PN}" build-with-newlib +} + +src_install() { + local TOOLCHAIN_HOME="/usr/$(get_libdir)" + dodir "${TOOLCHAIN_HOME}" + insinto "${TOOLCHAIN_HOME}" + doins -r "${WORKDIR}/out/${PN}" +} |