forked from wolfSSL/wolfssl
add libevent installation on the vagrant box
This commit is contained in:
11
Vagrantfile
vendored
11
Vagrantfile
vendored
@ -3,9 +3,20 @@
|
|||||||
|
|
||||||
$setup = <<SCRIPT
|
$setup = <<SCRIPT
|
||||||
|
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git autoconf libtool make valgrind libpq-dev
|
apt-get install -y git autoconf libtool make valgrind libpq-dev
|
||||||
|
|
||||||
|
|
||||||
|
URL=https://sourceforge.net/projects/levent/files/libevent
|
||||||
|
LIB=libevent-2.0
|
||||||
|
VER=22-stable
|
||||||
|
|
||||||
|
wget -q $URL/$LIB/$LIB.$VER.tar.gz && tar -zxf $LIB.$VER.tar.gz
|
||||||
|
cd $LIB.$VER/ && ./autogen.sh && ./configure -q && make -s
|
||||||
|
sudo make install && cd .. && rm -rf $LIB.$VER*
|
||||||
|
|
||||||
|
|
||||||
SRC=vagrant
|
SRC=vagrant
|
||||||
DST=wolfssl
|
DST=wolfssl
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user