wok annotate squid-custom-errors/receipt @ rev 15488
Up: firefox-dev (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:28:53 2013 +0100 (2013-11-17) |
parents | 7209b34bbc17 |
children | 3d805214d753 |
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" |
erjo@4339 | 6 SHORT_DESC="squid error messages customized fro SliTaz" |
erjo@11780 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4339 | 8 DEPENDS="squid" |
pascal@10706 | 9 _TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4339 | 10 WEB_SITE="http://www.slitaz.org" |
erjo@4339 | 11 |
erjo@4339 | 12 # Rules to configure and make the package. |
erjo@4339 | 13 compile_rules() |
erjo@4339 | 14 { |
pascal@15248 | 15 tar xzf $stuff/$_TARBALL |
pascal@9051 | 16 mkdir -p $DESTDIR |
pascal@9051 | 17 cp -a $PACKAGE-$VERSION/fr $PACKAGE-$VERSION/wwwroot $DESTDIR |
erjo@4339 | 18 } |
erjo@4339 | 19 |
erjo@4339 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4339 | 21 genpkg_rules() |
erjo@4339 | 22 { |
erjo@4339 | 23 mkdir -p $fs/usr/share/squid/errors \ |
erjo@4339 | 24 $fs/var/www |
erjo@4339 | 25 |
pascal@9032 | 26 cp -a $_pkg/fr $fs/usr/share/squid/errors |
pascal@9032 | 27 cp -a $_pkg/wwwroot/* $fs/var/www |
erjo@4339 | 28 } |
erjo@4339 | 29 |