wok-next annotate dansguardian/receipt @ rev 21110
subversion: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 04:06:27 2019 +0200 (2019-01-11) |
parents | 342b30daff76 |
children | e067a18b0552 |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20534 | 9 WEB_SITE="https://web.archive.org/web/20170722001531/http://dansguardian.org:80/" |
al@20534 | 10 |
pascal@11220 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11220 | 12 WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL" |
pascal@11220 | 13 |
pascal@20216 | 14 BUILD_DEPENDS="pcre-dev zlib-dev" |
pascal@15000 | 15 |
al@20534 | 16 compile_rules() { |
pascal@11220 | 17 ./configure \ |
pascal@11220 | 18 --enable-fancydm=no \ |
pascal@11220 | 19 --with-proxyuser=nobody \ |
pascal@11220 | 20 --with-proxygroup=nogroup \ |
pascal@11220 | 21 $CONFIGURE_ARGS && |
al@20534 | 22 make && |
al@21020 | 23 make DESTDIR=$install install |
pascal@11220 | 24 } |
pascal@11220 | 25 |
al@20534 | 26 genpkg_rules() { |
al@20534 | 27 copy @std |
al@20749 | 28 DEPENDS="libpcreposix perl zlib squid" |
al@20534 | 29 SUGGESTED="clamav" |
pascal@11220 | 30 } |
pascal@11220 | 31 |
al@20534 | 32 post_install() { |
pascal@18730 | 33 chown nobody.nogroup "$1/var/log/dansguardian" |
pascal@11220 | 34 } |