talimat 693 B

123456789101112131415161718192021222324252627282930
  1. # Description: GPL virus tarayicisi
  2. # URL: http://www.clamav.net/
  3. # Packager: milisarge
  4. # Depends on: zlib bzip2 gmp curl
  5. name=clamav
  6. version=0.99.0
  7. release=1
  8. source=(http://www.clamav.net/downloads/production/$name-${version%.*}.tar.gz \
  9. clamd.conf freshclam.conf clamd freshclam)
  10. build() {
  11. cd $name-${version%.*}
  12. ./configure --prefix=/usr \
  13. --sysconfdir=/etc \
  14. --enable-id-check \
  15. --with-libcurl \
  16. --with-tcpwrappers
  17. make
  18. make DESTDIR=$PKG install
  19. mkdir -p $PKG/var/run/$name $PKG/var/log/$name
  20. install -o root -g root -m 0644 $SRC/{clamd,freshclam}.conf \
  21. $PKG/etc/
  22. install -d $PKG/etc/rc.d
  23. install -o root -g root -m 0755 $SRC/{clamd,freshclam} \
  24. $PKG/etc/rc.d/
  25. }