aboutsummaryrefslogtreecommitdiff
path: root/contrib/scripts/generate-monkey-db.sh
blob: 2afe5550174b1a9b46b812d78981ed5e7d7f2311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

BASEPATH="$(dirname $0)"
OLDDIR="${pwd}"
GN_HOME="/usr/local/bin"

export CC="cparser"
export CFLAGS="-m32 --seaspider"

cd $BASEPATH/.. && ./configure --prefix=$GN_HOME --with-extractor=$GN_HOME --with-microhttpd=$GN_HOME --with-libgcrypt=$GN_HOME && make && seaspider
if test "$?" -ne 0
then
	echo "FAIL: building GNUnet"
	exit 1
fi

cd $OLDDIR