wok-current view squid-custom-errors/receipt @ rev 17227
Add snimpy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 16 13:21:39 2014 +0200 (2014-10-16) |
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 }