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