Created
May 29, 2016 04:26
-
-
Save jim3ma/a0150af8cd1dd93362599f13649f2e95 to your computer and use it in GitHub Desktop.
install script for armel cross compile in debian 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# add emdebian-archive-keyring | |
apt-get update | |
apt-get install -y emdebian-archive-keyring | |
# add sources for xapt and cross-compile | |
cat << EOF >> /etc/apt/sources.list | |
deb http://archive.debian.org/backports.org squeeze-backports main | |
deb http://www.emdebian.org/debian squeeze main | |
EOF | |
# install armel cross-compile tools | |
apt-get update | |
apt-cache search armel | grep -v "4\.3" | awk '{print $1}' | grep -v tzdata | xargs apt-get install -y | |
# install libraries needed | |
apt-get install -y xapt | |
xapt -a armel libcurl4-openssl-dev \ | |
libpkcs11-helper1-dev \ | |
libcap-dev \ | |
libxerces-c3.1 \ | |
libpng12-dev \ | |
libxml2-dev \ | |
libgtk2.0-dev \ | |
libwebkit-dev \ | |
libxt-dev \ | |
libpthread-stubs0-dev | |
apt-get install -y yui-compressor sysvbanner gettext | |
# OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment