wok annotate 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 |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dansguardian" |
Hans-G?nter@22627 | 4 VERSION="2.12.0.3" |
pascal@11220 | 5 CATEGORY="network" |
Hans-G?nter@22627 | 6 SHORT_DESC="Web content filter." |
pascal@11220 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11220 | 9 WEB_SITE="http://dansguardian.org/" |
Hans-G?nter@22627 | 10 |
Hans-G?nter@22627 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22627 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
Hans-G?nter@22627 | 13 |
pascal@11220 | 14 SUGGESTED="clamav" |
Hans-G?nter@22627 | 15 DEPENDS="squid" |
pascal@15000 | 16 BUILD_DEPENDS="pcre-dev" |
pascal@15000 | 17 |
pascal@11220 | 18 # Rules to configure and make the package. |
pascal@11220 | 19 compile_rules() |
pascal@11220 | 20 { |
Hans-G?nter@22627 | 21 ./configure \ |
Hans-G?nter@22627 | 22 --prefix=/usr \ |
Hans-G?nter@22627 | 23 --localstatedir=/var \ |
Hans-G?nter@22627 | 24 --sysconfdir=/etc \ |
Hans-G?nter@22627 | 25 --enable-fancydm=no \ |
Hans-G?nter@22627 | 26 --with-proxyuser=nobody \ |
Hans-G?nter@22627 | 27 --with-proxygroup=nogroup \ |
pascal@11220 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@22627 | 29 make && |
Hans-G?nter@22627 | 30 make DESTDIR=$DESTDIR install |
pascal@11220 | 31 } |
pascal@11220 | 32 |
pascal@11220 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 34 genpkg_rules() |
pascal@11220 | 35 { |
Hans-G?nter@22627 | 36 mkdir -p $fs/usr/sbin |
Hans-G?nter@22627 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22627 | 38 |
Hans-G?nter@22627 | 39 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22627 | 40 cp -a $install/usr/share/${PACKAGE} $fs/usr/share |
Hans-G?nter@22627 | 41 cp -a $install/var $fs |
Hans-G?nter@22627 | 42 cp -a $install/etc $fs |
pascal@11220 | 43 } |
pascal@11220 | 44 |
pascal@11220 | 45 post_install() |
pascal@11220 | 46 { |
pascal@18730 | 47 chown nobody.nogroup "$1/var/log/dansguardian" |
pascal@11220 | 48 } |