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

squid-custom-errors: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:35:38 2011 +0100 (2011-03-03)
parents 8a50526671d5
children 8b0cce5c5819
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 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 cp -a fr wwwroot $DESTDIR
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/share/squid/errors \
23 $fs/var/www
25 cp -a $_pkg/fr $fs/usr/share/squid/errors
26 cp -a $_pkg/wwwroot/* $fs/var/www
27 }