wok rev 10996

Up: clamav to 0.97.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 02:48:58 2011 +0000 (2011-10-13)
parents 87b98e0005d9
children b0a5892d86f3
files clamav/receipt
line diff
     1.1 --- a/clamav/receipt	Thu Oct 13 02:45:26 2011 +0000
     1.2 +++ b/clamav/receipt	Thu Oct 13 02:48:58 2011 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clamav"
     1.7 -VERSION="0.97"
     1.8 +VERSION="0.97.2"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Antivirus."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12 -DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libltdl"
    1.13 -BUILD_DEPENDS="zlib-dev gmp gmp-dev bzip2-dev ncurses-dev bash"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.clamav.net/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  TAGS="antivirus"
    1.18  
    1.19 +DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libltdl"
    1.20 +BUILD_DEPENDS="zlib-dev gmp gmp-dev bzip2-dev ncurses-dev bash"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 @@ -20,14 +21,11 @@
    1.26  
    1.27  	cd $src
    1.28  	./configure \
    1.29 -		--prefix=/usr \
    1.30  		--sysconfdir=/etc/clamav \
    1.31 -		--infodir=/usr/share/info \
    1.32 -		--mandir=/usr/share/man \
    1.33  		--with-iconv=no \
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make -j 4 &&
    1.36 -	make DESTDIR=$PWD/_pkg install
    1.37 +	make &&
    1.38 +	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 @@ -87,6 +85,6 @@
    1.43  # Del user clamav when pkg is removed.
    1.44  post_remove()
    1.45  {
    1.46 -	deluser clamav	
    1.47 +	chroot "$1/" deluser clamav	
    1.48  }
    1.49