# HG changeset patch # User Eric Joseph-Alexandre # Date 1254385664 -7200 # Node ID fd316695f8e50b4f044429eda6a121dd9ff89ae2 # Parent b6435c3310263c000095d3dba972df6cd5024d8a Add: squid-custom-error diff -r b6435c331026 -r fd316695f8e5 squid-custom-errors/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squid-custom-errors/receipt Thu Oct 01 10:27:44 2009 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="squid-custom-errors" +VERSION="1.0" +CATEGORY="misc" +SHORT_DESC="squid error messages customized fro SliTaz" +MAINTAINER="erjo@oslitaz.org" +DEPENDS="squid" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org" + +# Rules to configure and make the package. +compile_rules() +{ + tar xvzf stuff/$TARBALL +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/squid/errors \ + $fs/var/www + + cp -a $PACKAGE-$VERSION/French $fs/usr/share/squid/errors + cp -a $PACKAGE-$VERSION/wwwroot/* $fs/var/www +} + diff -r b6435c331026 -r fd316695f8e5 squid-custom-errors/stuff/squid-custom-errors-1.0.tar.gz Binary file squid-custom-errors/stuff/squid-custom-errors-1.0.tar.gz has changed