From 41732b60b95807aa0b11877a8df6eaf4ede01143 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Fri, 25 Jul 2014 20:56:01 +0200 Subject: [PATCH] kicad installer script added --- install_kicad.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 install_kicad.sh diff --git a/install_kicad.sh b/install_kicad.sh new file mode 100644 index 00000000..d2d9e924 --- /dev/null +++ b/install_kicad.sh @@ -0,0 +1,34 @@ +#!/bin/bash +sudo yum groupinstall "C Development Tools and Libraries" +sudo yum install bzr bzrtools cmake GLC_lib-devel glew-devel cairo-devel bzip2-devel wxGTK3-devel openssl-devel doxygen patch + +bzr launchpad-login "saipeloan" +bzr whoami "Cyryl Plotnicki-Chudyk " + +mkdir -p ~/build/kicad +cd ~/build/kicad + +echo "add the following pubkey to launchpad:" +cat ~/.ssh/id_rsa.pub +echo "press [enter] when the key is added" +read +echo "checking out sources..." + +bzr checkout lp:kicad kicad.bzr +cd kicad.bzr +mkdir build +cd build +cmake -DKICAD_STABLE_VERSION=ON ../ +make clean +make -j8 +sudo make install + +# install component libraries +cd ~/build/kicad +bzr checkout lp:~kicad-product-committers/kicad/library kicad-library.bzr +cd kicad-library.bzr +mkdir build +cd build/ +cmake ../ +sudo make install +