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

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents da3aa8fae023
children 1c6d90864e25
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@slitaz.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 mkdir -p $DESTDIR
17 cp -a $PACKAGE-$VERSION/fr $PACKAGE-$VERSION/wwwroot $DESTDIR
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/squid/errors \
24 $fs/var/www
26 cp -a $_pkg/fr $fs/usr/share/squid/errors
27 cp -a $_pkg/wwwroot/* $fs/var/www
28 }