wok-6.x annotate dansguardian/receipt @ rev 16149

Add harfbuzz (OpenType text shaping engine)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 26 23:24:26 2014 +0100 (2014-03-26)
parents e5b73f3c73d4
children 9e01bc6321ea
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@11220 44 local root
pascal@11220 45 root=$1
pascal@11220 46 chown nobody.nogroup $root/var/log/dansguardian
pascal@11220 47 }