Created
February 25, 2012 13:33
-
-
Save afiestas/1908511 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
jobs=$1 | |
#Amount of jobs to use, 1 per core is desired | |
if [ $# -eq 0 ] | |
then | |
jobs=1 | |
fi | |
#Adding Kubuntun ppa's for Qt4.8 and KDE 4.8 | |
echo "deb http://ppa.launchpad.net/kubuntu-ppa/experimental/ubuntu oneiric main | |
deb-src http://ppa.launchpad.net/kubuntu-ppa/experimental/ubuntu oneiric main | |
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu oneiric main | |
deb-src http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu oneiric main" > /tmp/rolf.txt | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A | |
#Updating the system and installing everything we need to compile atopixmap | |
apt-get update | |
apt-get -fy upgrade | |
apt-get -fy install git | |
apt-get -fy build-dep koffice | |
cd /root | |
#atopixmap compilation | |
git clone --depth 1 git://anongit.kde.org/clones/calligra/afiestas/atopixmap.git | |
mkdir atopixmap/build | |
cd atopixmap/build | |
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/ | |
make -j$jobs install | |
cd ../../ | |
#atopixmapserver compilation | |
git clone git://anongit.kde.org/scratch/afiestas/atopixmapserver.git | |
mkdir atopixmapserver/build | |
cd atopixmapserver/build | |
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/ | |
make -j$jobs | |
echo "atopixmapserver is NOT installed in your $PATH, please copy it wherever you want to" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment