wok-next view dansguardian/receipt @ rev 20280

remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 14:41:47 2017 +0100 (2017-11-08)
parents 9e01bc6321ea
children 757d032c55c7
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://dansguardian.org/"
11 WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
12 SUGGESTED="clamav"
14 BUILD_DEPENDS="pcre-dev zlib-dev"
15 DEPENDS="squid"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 --sysconfdir=/etc \
25 --enable-fancydm=no \
26 --with-proxyuser=nobody \
27 --with-proxygroup=nogroup \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin $fs/usr/share
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
38 cp -a $install/var $fs/
39 cp -a $install/etc $fs/
40 }
42 post_install()
43 {
44 chown nobody.nogroup "$1/var/log/dansguardian"
45 }