wok view squidclamav/receipt @ rev 11916
squidguard: improve package
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 00:01:17 2012 +0100 (2012-03-01) |
parents | 2761305eb30d |
children | 61855e8d38b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squidclamav"
4 VERSION="5.7"
5 CATEGORY="security"
6 SHORT_DESC="Antivirus redirector for Squid proxy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://squidclamav.darold.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 CONFIG_FILES="/etc/squidclamav.conf"
13 DEPENDS="squid libcurl"
14 BUILD_DEPENDS="curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p $DESTDIR/etc
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install &&
26 cp etc/squidclamav.conf $DESTDIR/etc
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 }