# HG changeset patch # User Pascal Bellard # Date 1305754176 -7200 # Node ID f5432ac821e9dccb23b1a7a88ce0b3143da712df # Parent e54ce6b177083bb8e82ca2677fbf9074673e159c Add squidclamav diff -r e54ce6b17708 -r f5432ac821e9 squidclamav/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squidclamav/receipt Wed May 18 23:29:36 2011 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="squidclamav" +VERSION="5.4" +CATEGORY="security" +SHORT_DESC="Antivirus redirector for Squid proxy." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://squidclamav.darold.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="squid" +CONFIG_FILES="/etc/squidclamav.conf" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/etc $fs + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +}