wok-next annotate squid-custom-errors/receipt @ rev 9045
asterisk-sound-fr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 08:55:47 2011 +0100 (2011-03-04) |
parents | 8a50526671d5 |
children | 8b0cce5c5819 |
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@4339 | 7 MAINTAINER="erjo@oslitaz.org" |
erjo@4339 | 8 DEPENDS="squid" |
erjo@4339 | 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 { |
erjo@4339 | 15 tar xvzf stuff/$TARBALL |
pascal@9032 | 16 cp -a fr wwwroot $DESTDIR |
erjo@4339 | 17 } |
erjo@4339 | 18 |
erjo@4339 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4339 | 20 genpkg_rules() |
erjo@4339 | 21 { |
erjo@4339 | 22 mkdir -p $fs/usr/share/squid/errors \ |
erjo@4339 | 23 $fs/var/www |
erjo@4339 | 24 |
pascal@9032 | 25 cp -a $_pkg/fr $fs/usr/share/squid/errors |
pascal@9032 | 26 cp -a $_pkg/wwwroot/* $fs/var/www |
erjo@4339 | 27 } |
erjo@4339 | 28 |