wok-6.x view dansguardian/receipt @ rev 11613
jssame: fix color
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 16:40:16 2012 +0100 (2012-01-21) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="dansguardian"
4 VERSION="2.10.1.1"
5 CATEGORY="network"
6 SHORT_DESC="Web content filter"
7 MAINTAINER="erjo@slitaz.org"
8 BUILD_DEPENDS="pcre-dev"
9 DEPENDS="squid"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://dansguardian.org/"
12 WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
13 SUGGESTED="clamav"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --localstatedir=/var \
22 --sysconfdir=/etc \
23 --enable-fancydm=no \
24 --with-proxyuser=nobody \
25 --with-proxygroup=nogroup \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin $fs/usr/share
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/share/${PACKAGE} $fs/usr/share
36 cp -a $_pkg/var $fs/
37 cp -a $_pkg/etc $fs/
38 }
40 post_install()
41 {
42 local root
43 root=$1
44 chown nobody.nogroup $root/var/log/dansguardian
45 }