wok view squidclamav/receipt @ rev 10362

talloc: make it build (bug in CROSS)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 01:44:08 2011 +0200 (2011-05-23)
parents
children d92c3e710230
line source
1 # SliTaz package receipt.
3 PACKAGE="squidclamav"
4 VERSION="5.4"
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 DEPENDS="squid"
12 CONFIG_FILES="/etc/squidclamav.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --libexecdir=/usr/lib \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 }