30 lines
678 B
Plaintext
30 lines
678 B
Plaintext
# Tanım: GPL virus tarayicisi
|
||
# URL: http://www.clamav.net/
|
||
# Paketçi: milisarge
|
||
# Gerekler: zlib bzip2 gmp curl
|
||
|
||
isim=clamav
|
||
surum=0.99.0
|
||
devir=1
|
||
kaynak=(http://www.clamav.net/downloads/production/$isim-${surum%.*}.tar.gz \
|
||
clamd.conf freshclam.conf clamd freshclam)
|
||
|
||
derle() {
|
||
|
||
cd $isim-${surum%.*}
|
||
./configure --prefix=/usr \
|
||
--sysconfdir=/etc \
|
||
--enable-id-check \
|
||
--with-libcurl \
|
||
--with-tcpwrappers
|
||
make
|
||
make DESTDIR=$PKG install
|
||
mkdir -p $PKG/var/run/$isim $PKG/var/log/$isim
|
||
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/
|
||
|
||
}
|