wok-stable diff polipo/receipt @ rev 9328

Add polkit-qt (to help for KDE)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 13:11:13 2011 +0100 (2011-03-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/polipo/receipt	Fri Mar 18 13:11:13 2011 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="polipo"
     1.7 +VERSION="1.0.4.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small and fast caching web proxy."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="texinfo"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.pps.jussieu.fr/~jch/software/polipo/"
    1.15 +WGET_URL="http://freehaven.net/~chrisd/polipo/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	make all
    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/bin $fs/etc/polipo $fs/usr/share/polipo/www/doc
    1.28 +	cp -a $src/polipo $fs/usr/bin
    1.29 +	cp -a $src/config.sample $fs/etc/polipo/config
    1.30 +	cp -a $src/forbidden.sample $fs/etc/polipo/forbidden
    1.31 +	cp -a $src/localindex.html $fs/usr/share/polipo/www/index.html
    1.32 +	cp -a $src/html/* $fs/usr/share/polipo/www/doc
    1.33 +}
    1.34 +
    1.35 +# Create a disk cache.                  
    1.36 +post_install()                          
    1.37 +{  
    1.38 +	echo -n "Creating disk cache..."                                    
    1.39 +	mkdir $1/var/cache/polipo          
    1.40 +	chown tux.tux $1/var/cache/polipo  
    1.41 +	status
    1.42 +}  
    1.43 +
    1.44 +# Remove disk cache.
    1.45 +post_remove()
    1.46 +{
    1.47 +	echo -n "Removing disk cache..."
    1.48 +	rm -rf $1/var/cache/polipo
    1.49 +	status
    1.50 +}                                    
    1.51 +