tasyagle: Added a few more package deps, not working
[dev-env-setup.git] / tasyagle-install
1 #!/bin/sh
2
3 if [ "$EUID" -ne 0 ]
4 then echo "Please run as root"
5 exit
6 fi
7
8 apt-get install -y default-jre-headless libncurses5 libedit-dev \
9 libxpa1 libxt-dev libxpm-dev libservlet3.1-java
10
11 mkdir -p /home/$SUDO_USER/src
12 cd /home/$SUDO_USER/src
13 git clone https://gitlab.lip6.fr/vlsi-eda/tas-yagle.git
14 cd tas-yagle
15 ./build.sh
16
17 cd /home/$SUDO_USER/src
18 chown -R $SUDO_USER .
19 chgrp -R $SUDO_USER .