1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh PREFIX=/tmp/softhsm2-release export LD_LIBRARY_PATH=/usr/local/lib if [ ! -f autogen.sh -a ! -f configure ]; then echo "Unable to continue, no autogen.sh or configure" exit 1 fi if [ -f autogen.sh ]; then sh autogen.sh fi && mkdir -p build && cd build && ../configure --prefix=${PREFIX} \ --with-crypto-backend=botan \ --with-botan=/usr/local \ $@