wok annotate squid-custom-errors/receipt @ rev 6740

Added var folder to rarian.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 19:50:42 2010 +0000 (2010-10-16)
parents
children 8a50526671d5
rev   line source
erjo@4339 1 # SliTaz package receipt.
erjo@4339 2
erjo@4339 3 PACKAGE="squid-custom-errors"
erjo@4339 4 VERSION="1.0"
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
erjo@4339 16 }
erjo@4339 17
erjo@4339 18 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4339 19 genpkg_rules()
erjo@4339 20 {
erjo@4339 21 mkdir -p $fs/usr/share/squid/errors \
erjo@4339 22 $fs/var/www
erjo@4339 23
erjo@4339 24 cp -a $PACKAGE-$VERSION/French $fs/usr/share/squid/errors
erjo@4339 25 cp -a $PACKAGE-$VERSION/wwwroot/* $fs/var/www
erjo@4339 26 }
erjo@4339 27