wok-current rev 15826

Up: clamav to 0.97.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 10:27:10 2014 +0000 (2014-01-24)
parents f651da5c6b43
children 01560df26bda
files clamav-dev/receipt clamav/receipt
line diff
     1.1 --- a/clamav-dev/receipt	Fri Jan 24 10:11:49 2014 +0000
     1.2 +++ b/clamav-dev/receipt	Fri Jan 24 10:27:10 2014 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clamav-dev"
     1.7 -VERSION="0.97.3"
     1.8 +VERSION="0.97.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Clamav dev files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -11,8 +11,6 @@
    1.13  WANTED="clamav"
    1.14  
    1.15  DEPENDS="clamav pkg-config"
    1.16 -BUILD_DEPENDS=""
    1.17 -
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
     2.1 --- a/clamav/receipt	Fri Jan 24 10:11:49 2014 +0000
     2.2 +++ b/clamav/receipt	Fri Jan 24 10:27:10 2014 +0000
     2.3 @@ -1,11 +1,10 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="clamav"
     2.7 -VERSION="0.97.3"
     2.8 +VERSION="0.97.5"
     2.9  CATEGORY="security"
    2.10  SHORT_DESC="Antivirus."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12 -LICENSE="GPL2"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://www.clamav.net/"
    2.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 @@ -18,13 +17,15 @@
    2.17  compile_rules()
    2.18  {
    2.19  	# Have to create clamav user/group to be able to compile
    2.20 -	adduser -s /bin/false -H -D clamav
    2.21 +	adduser -s /bin/false -H -D -u 64 clamav
    2.22  
    2.23  	cd $src
    2.24  	./configure \
    2.25  		--sysconfdir=/etc/clamav \
    2.26  		--with-iconv=no \
    2.27 -		$CONFIGURE_ARGS && make && make install
    2.28 +		$CONFIGURE_ARGS &&
    2.29 +	make &&
    2.30 +	make DESTDIR=$DESTDIR install
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 @@ -33,6 +34,7 @@
    2.35  	mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d \
    2.36  		$fs/var/log/clamav $fs/var/run/clamav
    2.37  	cp -a $install/usr/bin $fs/usr
    2.38 +	rm -f $fs/usr/bin/clamav-config
    2.39  	cp -a $install/usr/sbin $fs/usr
    2.40  	cp -a $install/etc $fs
    2.41  	# Copy only shared lib (.so)