2014-08-26 19:19:03 +02:00
|
|
|
#!/usr/bin/env bash
|
2014-09-24 18:00:24 +02:00
|
|
|
set -x
|
2014-12-25 15:22:01 +01:00
|
|
|
|
|
|
|
## Debian 7 has too old clang so use this with it
|
|
|
|
#unset CC
|
|
|
|
#unset CXX
|
|
|
|
|
2014-08-26 19:19:03 +02:00
|
|
|
cd znc
|
|
|
|
./autogen.sh
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
2014-12-25 15:22:01 +01:00
|
|
|
|
|
|
|
## for use with pyenv
|
|
|
|
#export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.2/lib
|
|
|
|
#export PKG_CONFIG_PATH=/usr/bin/pkg-config:/home/users/mkaysi/.pyenv/versions/3.4.2/lib/pkgconfig/:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig/:/usr/share/pkgconfig/
|
|
|
|
|
|
|
|
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus
|
|
|
|
|
|
|
|
#--prefix=$HOME/.local
|
2014-09-24 18:00:24 +02:00
|
|
|
#make -j$(nproc)
|