milis/talimatname/genel/clamav/talimat

32 lines
709 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: A GPL virus scanner
# URL: http://www.clamav.net/
# Packager: berlius at nutyx dot com
# Depends on: 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)
build() {
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/
}