summaryrefslogtreecommitdiff
path: root/clamav/Pkgfile
blob: 4a34709fcc5584451a94616ab080d390323e54c3 (plain)
    1 # Description: A GPL virus scanner
    2 # URL: http://www.clamav.net/
    3 # Maintainer: Matt Housh, jaeger at morpheus dot net
    4 # Depends on: zlib, bzip2, libgmp, curl
    5 
    6 name=clamav
    7 version=0.93
    8 release=1
    9 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
   10 	clamd.conf freshclam.conf clamd freshclam)
   11 
   12 build() {
   13 	cd $name-$version
   14 	./configure --prefix=/usr \
   15 		--sysconfdir=/etc \
   16 		--mandir=/usr/man \
   17 		--enable-id-check \
   18 		--with-libcurl \
   19 		--with-tcpwrappers
   20 	make
   21 	make DESTDIR=$PKG install
   22 	mkdir -p $PKG/var/run/$name $PKG/var/log/$name
   23 	chown -R $name:$name $PKG/var/run/$name $PKG/var/log/$name
   24 	install -o root -g root -m 0644 $SRC/{clamd,freshclam}.conf \
   25 		$PKG/etc/
   26 	install -d $PKG/etc/rc.d
   27 	install -o root -g root -m 0755 $SRC/{clamd,freshclam} \
   28 		$PKG/etc/rc.d/
   29 }

Generated by cgit