wok-current view squid-custom-errors/receipt @ rev 22410

Add knot-dns (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 18:18:33 2019 +0100 (2019-12-10)
parents 1c6d90864e25
children
line source
1 # SliTaz package receipt.
3 PACKAGE="squid-custom-errors"
4 VERSION="1.1"
5 CATEGORY="misc"
6 SHORT_DESC="squid error messages customized for SliTaz"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 DEPENDS="squid"
10 _TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 tar xzf $stuff/$_TARBALL
17 mkdir -p $DESTDIR
18 cp -a $PACKAGE-$VERSION/fr $PACKAGE-$VERSION/wwwroot $DESTDIR
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/squid/errors \
25 $fs/var/www
27 cp -a $install/fr $fs/usr/share/squid/errors
28 cp -a $install/wwwroot/* $fs/var/www
29 }