wok-backports diff squid-custom-errors/receipt @ rev 29

Add: mariadb
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 02 00:29:22 2014 +0200 (2014-06-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/squid-custom-errors/receipt	Mon Jun 02 00:29:22 2014 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="squid-custom-errors"
     1.7 +VERSION="1.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="squid error messages customized for SliTaz"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +DEPENDS="squid"
    1.13 +_TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.slitaz.org"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	tar xzf $stuff/$_TARBALL 
    1.20 +	mkdir -p $DESTDIR
    1.21 +	cp -a $PACKAGE-$VERSION/fr $PACKAGE-$VERSION/wwwroot $DESTDIR
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/share/squid/errors \
    1.28 +		$fs/var/www
    1.29 +		
    1.30 +	cp -a $install/fr $fs/usr/share/squid/errors
    1.31 +	cp -a $install/wwwroot/* $fs/var/www
    1.32 +}
    1.33 +