Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Alonso Rodriguez <alonso@null.net>
- # Adaptation from AUR systemc
- # Checkeamos si se está ejecutando como root
- if [ "$(id -u)" -ne 0 ]; then
- echo 'This script must be run as superuser' >&2
- exit 1
- fi
- pkgname='systemc'
- pkgver='2.3.3'
- wget http://accellera.org/images/downloads/standards/systemc/${pkgname}-${pkgver}.tar.gz
- tar xzvf systemc-${pkgver}.tar.gz
- cd systemc-${pkgver} || return
- # Start build
- ./configure --prefix=/usr --with-unix-layout=yes
- make -j "$(getconf _NPROCESSORS_ONLN)"
- make install
- echo "Install succesful"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement