wok-current annotate squidclamav/receipt @ rev 11894
squidclamav: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 29 13:09:35 2012 +0100 (2012-02-29) |
parents | 2761305eb30d |
children | 61855e8d38b8 |
rev | line source |
---|---|
pascal@9981 | 1 # SliTaz package receipt. |
pascal@9981 | 2 |
pascal@9981 | 3 PACKAGE="squidclamav" |
erjo@11791 | 4 VERSION="5.7" |
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 |
pascal@11894 | 20 mkdir -p $DESTDIR/etc |
pankso@10444 | 21 ./configure \ |
pankso@10444 | 22 --prefix=/usr \ |
pankso@10444 | 23 --libexecdir=/usr/lib \ |
pascal@9981 | 24 $CONFIGURE_ARGS && |
pascal@11883 | 25 make && make DESTDIR=$DESTDIR install && |
pascal@11883 | 26 cp etc/squidclamav.conf $DESTDIR/etc |
pascal@9981 | 27 } |
pascal@9981 | 28 |
pascal@9981 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9981 | 30 genpkg_rules() |
pascal@9981 | 31 { |
pascal@9981 | 32 mkdir -p $fs/usr |
pascal@9981 | 33 cp -a $_pkg/etc $fs |
pascal@9981 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@9981 | 35 cp -a $_pkg/usr/lib $fs/usr |
pascal@9981 | 36 } |