wok view dansguardian/receipt @ rev 23809
linld: add isoboot (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 24 16:43:25 2020 +0000 (2020-05-24) |
parents | 9e01bc6321ea |
children | 640a2eba2511 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dansguardian"
4 VERSION="2.12.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Web content filter."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dansguardian.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
14 SUGGESTED="clamav"
15 DEPENDS="squid"
16 BUILD_DEPENDS="pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
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 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
41 cp -a $install/var $fs
42 cp -a $install/etc $fs
43 }
45 post_install()
46 {
47 chown nobody.nogroup "$1/var/log/dansguardian"
48 }