wok-current annotate squid-custom-errors/receipt @ rev 18053

Up pam_ssh (2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 15 10:48:58 2015 +0200 (2015-05-15)
parents 1c6d90864e25
children
rev   line source
erjo@4339 1 # SliTaz package receipt.
erjo@4339 2
erjo@4339 3 PACKAGE="squid-custom-errors"
slaxemulator@7184 4 VERSION="1.1"
erjo@4339 5 CATEGORY="misc"
pascal@15582 6 SHORT_DESC="squid error messages customized for SliTaz"
erjo@11780 7 MAINTAINER="erjo@slitaz.org"
pascal@15582 8 LICENSE="GPL3"
erjo@4339 9 DEPENDS="squid"
pascal@10706 10 _TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4339 11 WEB_SITE="http://www.slitaz.org"
erjo@4339 12
erjo@4339 13 # Rules to configure and make the package.
erjo@4339 14 compile_rules()
erjo@4339 15 {
pascal@15248 16 tar xzf $stuff/$_TARBALL
pascal@9051 17 mkdir -p $DESTDIR
pascal@9051 18 cp -a $PACKAGE-$VERSION/fr $PACKAGE-$VERSION/wwwroot $DESTDIR
erjo@4339 19 }
erjo@4339 20
erjo@4339 21 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4339 22 genpkg_rules()
erjo@4339 23 {
erjo@4339 24 mkdir -p $fs/usr/share/squid/errors \
erjo@4339 25 $fs/var/www
erjo@4339 26
pascal@15582 27 cp -a $install/fr $fs/usr/share/squid/errors
pascal@15582 28 cp -a $install/wwwroot/* $fs/var/www
erjo@4339 29 }
erjo@4339 30