wok view squidclamav/receipt @ rev 11885

pcmanfm2: Improve package integration
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 28 14:35:10 2012 +0100 (2012-02-28)
parents 30931b9435ce
children b71d9a5eaa48
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 $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 }