wok view squid-custom-errors/receipt @ rev 4339

Add: squid-custom-error
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Oct 01 10:27:44 2009 +0200 (2009-10-01)
parents
children 8a50526671d5
line source
1 # SliTaz package receipt.
3 PACKAGE="squid-custom-errors"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="squid error messages customized fro SliTaz"
7 MAINTAINER="erjo@oslitaz.org"
8 DEPENDS="squid"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 tar xvzf stuff/$TARBALL
16 }
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/share/squid/errors \
22 $fs/var/www
24 cp -a $PACKAGE-$VERSION/French $fs/usr/share/squid/errors
25 cp -a $PACKAGE-$VERSION/wwwroot/* $fs/var/www
26 }