bootstrap-mdevd.sh (382B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- command -v make || die "Run /bootstrap-make.sh"
- test -f /usr/lib/libskarnet.so || die "Run /bootstrap-skalibs.sh"
- tar xof /mdevd-*.tar.gz
- cd mdevd-*/
- sed 's;-iquote ;-I;' configure > configure.new
- mv -f configure.new configure
- chmod +x configure
- ./configure --prefix=/usr
- make RANLIB=true
- make install
- cd ..
- rm -fr mdevd-*/