mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 13:27:17 +01:00
depend script (Debian fixed, MinGW added)
This commit is contained in:
parent
e9223dae8a
commit
e9622a37c1
27
dependencies.sh
Executable file
27
dependencies.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
|
||||
dependNix="libboost-chrono-dev \
|
||||
libboost-date-time-dev \
|
||||
libboost-filesystem-dev \
|
||||
libboost-program-options-dev \
|
||||
libboost-system-dev \
|
||||
libboost-thread-dev \
|
||||
libssl-dev \
|
||||
zlib1g-dev"
|
||||
|
||||
dependWin="mingw-w64-x86_64-boost \
|
||||
mingw-w64-x86_64-openssl \
|
||||
mingw-w64-x86_64-zlib"
|
||||
|
||||
kernel=`uname -a`
|
||||
|
||||
case "$kernel" in
|
||||
*Ubuntu*|*Debian*)
|
||||
sudo apt install $dependNix;;
|
||||
*gentoo*)
|
||||
sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;;
|
||||
*MINGW64*)
|
||||
pacman -S $dependWin;;
|
||||
*)
|
||||
echo "Just install libboost and libopenssl dev packages on your pc";;
|
||||
esac
|
Loading…
Reference in a new issue