SHARE
TWEET

Untitled

a guest Feb 18th, 2020 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. # Alonso Rodriguez <alonso@null.net>
  4. # Adaptation from AUR systemc
  5.  
  6. # Checkeamos si se está ejecutando como root
  7. if [ "$(id -u)" -ne 0 ]; then
  8.     echo 'This script must be run as superuser' >&2
  9.     exit 1
  10. fi
  11.  
  12. pkgname='systemc'
  13. pkgver='2.3.3'
  14.  
  15. wget http://accellera.org/images/downloads/standards/systemc/${pkgname}-${pkgver}.tar.gz
  16.  
  17. tar xzvf systemc-${pkgver}.tar.gz
  18. cd systemc-${pkgver} || return
  19.  
  20. # Start build
  21. ./configure --prefix=/usr --with-unix-layout=yes
  22. make -j "$(getconf _NPROCESSORS_ONLN)"
  23.  
  24. make install
  25.  
  26. echo "Install succesful"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top