wok-next annotate squidclamav/receipt @ rev 11806
sdcc: fix cp -u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 25 16:25:09 2012 +0100 (2012-02-25) |
parents | d92c3e710230 |
children | 2761305eb30d |
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 |
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 } |