wok annotate squidclamav/receipt @ rev 10321

enlightenment-pam: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 00:06:20 2011 +0000 (2011-05-22)
parents
children d92c3e710230
rev   line source
pascal@9981 1 # SliTaz package receipt.
pascal@9981 2
pascal@9981 3 PACKAGE="squidclamav"
pascal@9981 4 VERSION="5.4"
pascal@9981 5 CATEGORY="security"
pascal@9981 6 SHORT_DESC="Antivirus redirector for Squid proxy."
pascal@9981 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@9981 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@9981 9 WEB_SITE="http://squidclamav.darold.net/"
pascal@9981 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@9981 11 DEPENDS="squid"
pascal@9981 12 CONFIG_FILES="/etc/squidclamav.conf"
pascal@9981 13
pascal@9981 14 # Rules to configure and make the package.
pascal@9981 15 compile_rules()
pascal@9981 16 {
pascal@9981 17 cd $src
pascal@9981 18 ./configure --prefix=/usr --libexecdir=/usr/lib \
pascal@9981 19 --mandir=/usr/share/man \
pascal@9981 20 $CONFIGURE_ARGS &&
pascal@9981 21 make &&
pascal@9981 22 make DESTDIR=$DESTDIR install
pascal@9981 23 }
pascal@9981 24
pascal@9981 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9981 26 genpkg_rules()
pascal@9981 27 {
pascal@9981 28 mkdir -p $fs/usr
pascal@9981 29 cp -a $_pkg/etc $fs
pascal@9981 30 cp -a $_pkg/usr/bin $fs/usr
pascal@9981 31 cp -a $_pkg/usr/lib $fs/usr
pascal@9981 32 }