wok annotate squidclamav/receipt @ rev 11335

Up: seamonkey (2.5)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 08:31:09 2011 +0000 (2011-11-25)
parents f5432ac821e9
children 30931b9435ce
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 CONFIG_FILES="/etc/squidclamav.conf"
pascal@9981 12
pankso@10444 13 DEPENDS="squid libcurl"
pankso@10444 14 BUILD_DEPENDS="curl-dev"
pankso@10444 15
pascal@9981 16 # Rules to configure and make the package.
pascal@9981 17 compile_rules()
pascal@9981 18 {
pascal@9981 19 cd $src
pankso@10444 20 ./configure \
pankso@10444 21 --prefix=/usr \
pankso@10444 22 --libexecdir=/usr/lib \
pascal@9981 23 $CONFIGURE_ARGS &&
pankso@10444 24 make && make DESTDIR=$DESTDIR install
pascal@9981 25 }
pascal@9981 26
pascal@9981 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9981 28 genpkg_rules()
pascal@9981 29 {
pascal@9981 30 mkdir -p $fs/usr
pascal@9981 31 cp -a $_pkg/etc $fs
pascal@9981 32 cp -a $_pkg/usr/bin $fs/usr
pascal@9981 33 cp -a $_pkg/usr/lib $fs/usr
pascal@9981 34 }