Ajouter 'build.sh'

This commit is contained in:
virtubox 2018-05-31 10:28:30 +00:00
parent 10595bf55d
commit 921bee6617
1 changed files with 14 additions and 0 deletions

14
build.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
apt-get update >> /tmp/clamav.log 2>&1
apt-get install -y git build-essential automake autoconf zlib1g-dev libssl-dev >> /tmp/clamav.log 2>&1
wget -O /usr/local/src/clamav.tar.gz https://www.clamav.net/downloads/production/clamav-0.100.0.tar.gz
cd /usr/local/src || exit
tar -xzvf clamav.tar.gz
cd clamav-0.100.0 || exit
./configure
make -j "$(nproc)"
make install