milis/talimatname/genel/c/clamav/talimat

30 lines
686 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: GPL virus tarayicisi
# URL: http://www.clamav.net/
# Paketçi: milisarge
# Gerekler: zlib bzip2 gmp curl
name=clamav
version=0.99.0
release=1
source=(http://www.clamav.net/downloads/production/$name-${version%.*}.tar.gz \
clamd.conf freshclam.conf clamd freshclam)
derle() {
cd $name-${version%.*}
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-id-check \
--with-libcurl \
--with-tcpwrappers
make
make DESTDIR=$PKG install
mkdir -p $PKG/var/run/$name $PKG/var/log/$name
install -o root -g root -m 0644 $SRC/{clamd,freshclam}.conf \
$PKG/etc/
install -d $PKG/etc/rc.d
install -o root -g root -m 0755 $SRC/{clamd,freshclam} \
$PKG/etc/rc.d/
}