update znc*.bash

This commit is contained in:
Mikaela Suomalainen 2014-09-24 19:00:24 +03:00
parent fc9ec1c812
commit 2636dd06cf
2 changed files with 14 additions and 4 deletions

View File

@ -1,10 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x
unset CC
unset CXX
cd znc cd znc
./autogen.sh ./autogen.sh
mkdir -p build mkdir -p build
cd build cd build
# PYENV (two lines) # PYENV (two lines)
export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib #export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib
export PKG_CONFIG_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib/pkgconfig/ #export PKG_CONFIG_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib/pkgconfig/
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --disable-cyrus --prefix=$HOME/.local ../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus --prefix=$HOME/.local
make -j$(nproc) #make -j$(nproc)

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# This script downloads external ZNC modules which I use. # This script downloads external ZNC modules which I use.
set -x
cd znc cd znc
cd modules cd modules
echo "Downloading kvirc.cpp" echo "Downloading kvirc.cpp"
@ -8,6 +9,11 @@ curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc
#curl -LO https://raw.githubusercontent.com/mmilata/znc-otr/master/otr.cpp #curl -LO https://raw.githubusercontent.com/mmilata/znc-otr/master/otr.cpp
echo "Downloading privmsg.cpp" echo "Downloading privmsg.cpp"
curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp
echo "Downloading away_notify.cpp"
curl -LO https://github.com/NuclearW/znc-modules/raw/master/away_notify/away_notify.cpp
echo "Downloading away_notify_unsolicited.cpp"
curl -LO https://github.com/NuclearW/znc-modules/raw/master/away_notify/away_notify_unsolicited.cpp
# ~/.znc/modules # ~/.znc/modules
mkdir -p ~/.znc/modules mkdir -p ~/.znc/modules
@ -17,3 +23,4 @@ curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py
echo "You can now run zncconfigure.bash" echo "You can now run zncconfigure.bash"