wok-next view squid-custom-errors/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | 1c6d90864e25 |
children | cd7906120828 |
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 }