Updated install and binutils, gcc, glibc and linuxheaders

parent 67a59ca3
......@@ -99,27 +99,6 @@ for file in git zlibpkg libssh2 perl curl expat gettext python readline ruby bui
wget -N -c $URL/packages/$file.rb
done
#install gcc on arm only. It requires special treatments
case "$architecture" in
"armv7l")
echo y | crew install gcc
if [ ! -d $HOME/Downloads/tools ]; then
mkdir $HOME/Downloads/tools
mkdir $HOME/Downloads/tools/bin
mkdir $HOME/Downloads/tools/lib
mkdir $HOME/Downloads/tools/libexec
mkdir $HOME/Downloads/tools/share
ln -s /usr/local/armv7a-cros-linux-gnueabi $HOME/Downloads/tools
ln -s /usr/local/bin/as $HOME/Downloads/tools/bin
ln -s /usr/local/bin/bison $HOME/Downloads/tools/bin
ln -s /usr/local/bin/ld $HOME/Downloads/tools/bin
ln -s /usr/local/bin/m4 $HOME/Downloads/tools/bin
ln -s /usr/local/lib/gcc $HOME/Downloads/tools/lib
ln -s /usr/local/libexec/gcc $HOME/Downloads/tools/libexec
ln -s /usr/local/share/bison $HOME/Downloads/tools/share
fi;;
esac
#install readline for ruby
echo y | crew install readline
......
......@@ -3,12 +3,12 @@ require 'package'
class Binutils < Package
version '2.23.2'
binary_url ({
armv7l: "https://dl.dropboxusercontent.com/s/kut6emhlda9pbc9/dummy-1.0.0-chromeos-armv7l.tar.gz",
armv7l: "https://dl.dropboxusercontent.com/s/2gqcuxxfeugaaug/binutils-2.25-chromeos-armv7l.tar.xz",
i686: 'https://dl.dropboxusercontent.com/s/u3cp7mpdyfx99ij/binutils-2.23.2-chromeos-i686.tar.gz?token_hash=AAGsFB9HXNb5tSAm_Wd2GyIUL59BkZYgMTHkj4CkHLxggg&dl=1',
x86_64: 'https://dl.dropboxusercontent.com/s/mnu21v101rdbm8k/binutils-2.23.2-chromeos-x86_64.tar.gz?token_hash=AAEn4ngAJs-fpRUz1n1Q_2WKxQvQnPMwlgcEHBDKyLOpoA&dl=1'
})
binary_sha1 ({
armv7l: "049db60338a74d798e72afabe05097f3a4c4f7cd",
armv7l: "9ab0b2f77d504c6811f767393993ebb1a3b63658",
i686: 'a7edc9bdaf9fc72112fe6b370f158a9a1aee87ac',
x86_64: '1c13b8f261e419a66b87f09653f3fbaf8449efe1'
})
......
......@@ -3,14 +3,13 @@ require 'package'
class Gcc < Package
version '4.8.1-baseline'
# GCC for ARM is taken from http://davy.nyacom.net/cros-arm-dev.html and modified little to fit crew package.
binary_url ({
armv7l: "https://dl.dropboxusercontent.com/s/fajmnew33ah8k34/gcc-4.9.x-google-20150123-chromeos-armv7l.tar.xz",
armv7l: "https://dl.dropboxusercontent.com/s/jymjldw7wbumadw/gcc-4.9.2-chromeos-armv7l.tar.xz",
i686: "https://dl.dropboxusercontent.com/s/c06pcge8ogsqfcd/gcc-4.8.1-baseline-chromeos-i686.tar.gz?token_hash=AAFLnE_8iL_lAnGtAAVM5G_sYqejA44jGW8D9r0a8xCjrQ&dl=1",
x86_64: "https://dl.dropboxusercontent.com/s/kk52ic170je87fc/gcc-4.8.1-baseline-chromeos-x86_64.tar.gz?token_hash=AAGcQBSj1y8OfHXUhsayxlFfvk4LRszY07ehx_Z6UoyNEg&dl=1"
})
binary_sha1 ({
armv7l: "f1a50672bb0d21496ae494f07da4d298773d146e",
armv7l: "3fe46ef306db8777e8282de1681c121c7058f590",
i686: "d720c9a804d26728d730b93748072ffa6df7ee3d",
x86_64: "59932a73cd149ae82b4b5c277b734788c1efab44"
})
......
......@@ -2,14 +2,13 @@ require 'package'
class Glibc < Package
version '2.17.90-baseline'
# arm use 2.19 by system, so 2.19 here also
binary_url ({
armv7l: "https://dl.dropboxusercontent.com/s/nxyjvbea59nwwdi/glibc-2.19-minimum-chromeos-armv7l.tar.xz",
armv7l: "https://dl.dropboxusercontent.com/s/aryy15mmewfegko/glibc-2.19-chromeos-armv7l.tar.xz",
i686: "https://dl.dropboxusercontent.com/s/dic47f8eqxhpf89/glibc-2.17.90-baseline-chromeos-i686.tar.gz?token_hash=AAHx_77YtWLLnkjCJRaCJt7RsdKrfkT6lgKS9BZc4O-0Pg&dl=1",
x86_64: "https://dl.dropboxusercontent.com/s/x3tu160i7pmn6tp/glibc-2.17-baseline-chromeos-x86_64.tar.gz?token_hash=AAG794JG65HjzHMcAyAysQUbEPMUci1bZJPREj3ztCtnBg&dl=1"
})
binary_sha1 ({
armv7l: "ad342eb260c78d2951b3aaf3f6f1f4519ceb8dd4",
armv7l: "db77567362689e644970ac6fe1fb4eb17b893e4d",
i686: "3c3a0b86ed4591ec59daeb24d2dcda139574de1b",
x86_64: "d818775f74d91692828f12321044cd95fc649cf0"
})
......
......@@ -3,12 +3,12 @@ require 'package'
class Linuxheaders < Package
version '3.4.0'
binary_url ({
armv7l: "https://dl.dropboxusercontent.com/s/kut6emhlda9pbc9/dummy-1.0.0-chromeos-armv7l.tar.gz",
armv7l: "https://dl.dropboxusercontent.com/s/wg06axsihqorai8/linux-headers-3.14-chromeos-armv7l.tar.xz",
i686: "https://dl.dropboxusercontent.com/s/mdzdoyq7dtnz682/linux-headers-3.4.0-chromeos-i686.tar.gz?token_hash=AAE4yw5oH_SfZ3lAx02mFP603rnjmoB9Gp4vqTY14NsA-A&dl=1",
x86_64: "https://dl.dropboxusercontent.com/s/3ec3fjpls0t2iqn/linuxheaders-3.8.11-chromeos-x86_64.tar.gz?token_hash=AAFl1_1I3FtwGdoGvGJuGrGUqzaDkhumPzsGJMX5pYhZyQ&dl=1"
})
binary_sha1 ({
armv7l: "049db60338a74d798e72afabe05097f3a4c4f7cd",
armv7l: "6f862c524e6a2f08a91634b80df542555ce5dd78",
i686: "31c933f3a4e82fd9310b0f5b32d79c9a51514fee",
x86_64: "c113e16d72147429f774ba6678d72a221b19a5bc"
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment