[8c5326]: / build-wt.sh  Maximize  Restore  History

Download this file

18 lines (15 with data), 551 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/sh
TOPDIR=`pwd`
SRCDIR="$TOPDIR/source"
BUILDDIR="build"
mkdir -p $SRCDIR
. ./build-util.sh
download_file "http://dfn.dl.sourceforge.net/project/witty/wt/2.2.4/wt-2.2.4.tar.gz" "wt-2.2.4.tar.gz" "wt-2.2.4.tar"
gunzip_file "wt-2.2.4.tar.gz" "wt-2.2.4.tar"
untar_file "wt-2.2.4.tar" "wt-*" "wt"
cd $SRCDIR/wt
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$SRCDIR/$BUILDDIR/wt -DCMAKE_BUILD_TYPE=Release -DSHARED_LIBS=Off -DHTTP_WITH_SSL=OFF -DBOOST_DIR=$SRCDIR/build/boost -DBOOST_VERSION=1_36 -DBOOST_COMPILER=gcc41 ..
make
make install