wok-current annotate dansguardian/receipt @ rev 21081

updated jfsutils (1.1.14 -> 1.1.15)
author Hans-G?nter Theisgen
date Fri Mar 15 13:27:18 2019 +0100 (2019-03-15)
parents 380ffe05937a
children 874e0cca7eba
rev   line source
pascal@11220 1 # SliTaz package receipt.
pascal@11220 2
pascal@11220 3 PACKAGE="dansguardian"
pascal@11220 4 VERSION="2.10.1.1"
pascal@11220 5 CATEGORY="network"
pascal@11220 6 SHORT_DESC="Web content filter"
pascal@11220 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@11220 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11220 10 WEB_SITE="http://dansguardian.org/"
pascal@11220 11 WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
pascal@11220 12 SUGGESTED="clamav"
pascal@11220 13
pascal@15000 14 BUILD_DEPENDS="pcre-dev"
pascal@15000 15 DEPENDS="squid"
pascal@15000 16
pascal@11220 17 # Rules to configure and make the package.
pascal@11220 18 compile_rules()
pascal@11220 19 {
pascal@11220 20 cd $src
pascal@11220 21 ./configure \
pascal@11220 22 --prefix=/usr \
pascal@11220 23 --localstatedir=/var \
pascal@11220 24 --sysconfdir=/etc \
pascal@11220 25 --enable-fancydm=no \
pascal@11220 26 --with-proxyuser=nobody \
pascal@11220 27 --with-proxygroup=nogroup \
pascal@11220 28 $CONFIGURE_ARGS &&
pascal@11220 29 make && make DESTDIR=$DESTDIR install
pascal@11220 30 }
pascal@11220 31
pascal@11220 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11220 33 genpkg_rules()
pascal@11220 34 {
pascal@11220 35 mkdir -p $fs/usr/sbin $fs/usr/share
pascal@15000 36 cp -a $install/usr/sbin $fs/usr
pascal@15000 37 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
pascal@15000 38 cp -a $install/var $fs/
pascal@15000 39 cp -a $install/etc $fs/
pascal@11220 40 }
pascal@11220 41
pascal@11220 42 post_install()
pascal@11220 43 {
pascal@18730 44 chown nobody.nogroup "$1/var/log/dansguardian"
pascal@11220 45 }