wok-6.x view squid-custom-errors/receipt @ rev 17939
partimage: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 09:53:08 2015 +0200 (2015-04-15) |
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 }