scripts/bash/zncconfigure

30 lines
978 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2014-09-24 18:00:24 +02:00
set -x
2014-12-25 15:22:01 +01:00
# If you are using my zncmodules script, you might want to run it before running this...
2014-12-25 15:22:01 +01:00
## Debian 7 has too old clang so use this with it
#unset CC
#unset CXX
## for use with pyenv
#export LD_LIBRARY_PATH=$HOME/.pyenv/versions/3.4.2/lib
#export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/bin/pkg-config:$HOME/.local/bin/pkg-config:$HOME/.pyenv/versions/3.4.2/lib/pkgconfig/
# znc directory is the cloned git repository (https://github.com/znc/znc.git)
cd znc
# to make sure that we have all changes
git pull
# to get submodules and their submodules, currently csocket
# that doesn't have submodules.
git submodule update --init --recursive
# build znc normally out-of-source (build/ directory)
./autogen.sh
mkdir -p build
cd build
2014-12-25 15:22:01 +01:00
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus
#--prefix=$HOME/.local
# and here you run "make -j$(nproc)" while you are in the build/ directory.