wok-6.x view dansguardian/receipt @ rev 21100
updated lcms2, lcms2-apps, and lcms2-dev (2.7 -> 2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 16:52:08 2019 +0100 (2019-03-18) |
parents | 380ffe05937a |
children | 874e0cca7eba |
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"
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 }