wok view squid-custom-errors/receipt @ rev 18734
Remove redundant messages in {pre|post}_{install|remove}() in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 21 02:53:09 2015 +0200 (2015-12-21) |
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 }