bash: update znc*

This commit is contained in:
Mikaela Suomalainen 2014-12-25 16:22:01 +02:00
parent b62ee2c670
commit a73366348b
2 changed files with 14 additions and 19 deletions

View File

@ -1,13 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x set -x
unset CC
unset CXX ## Debian 7 has too old clang so use this with it
#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)
#export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib ## for use with pyenv
#export PKG_CONFIG_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib/pkgconfig/ #export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.2/lib
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus --prefix=$HOME/.local #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
#make -j$(nproc) #make -j$(nproc)

View File

@ -3,24 +3,12 @@
set -x set -x
cd znc cd znc
cd modules cd modules
echo "Downloading kvirc.cpp"
curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp
#echo "Downloading otr.cpp"
#curl -LO https://raw.githubusercontent.com/mmilata/znc-otr/master/otr.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 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 curl -LO https://github.com/NuclearW/znc-modules/raw/master/away_notify/away_notify_unsolicited.cpp
# ~/.znc/modules for mod* modules
# ~/.znc/modules
mkdir -p ~/.znc/modules mkdir -p ~/.znc/modules
cd ~/.znc/modules cd ~/.znc/modules
echo "Downloading push.py"
curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py
echo "You can now run zncconfigure.bash"