wok view polipo/receipt @ rev 17501

Normalize tags "file-manager", "web-browser", "text-editor", "terminal", and "window-manager" according to tazx.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 08 02:04:05 2015 +0200 (2015-01-08)
parents 51a1ebbda768
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="polipo"
4 VERSION="1.1.0"
5 CATEGORY="network"
6 SHORT_DESC="Small and fast caching web proxy."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.pps.jussieu.fr/~jch/software/polipo/"
11 WGET_URL="http://www.pps.univ-paris-diderot.fr/~jch/software/files/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make all
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/etc/polipo $fs/usr/share/polipo/www/doc
27 cp -a $src/polipo $fs/usr/bin
28 cp -a $src/config.sample $fs/etc/polipo/config
29 cp -a $src/forbidden.sample $fs/etc/polipo/forbidden
30 cp -a $src/localindex.html $fs/usr/share/polipo/www/index.html
31 cp -a $src/html/* $fs/usr/share/polipo/www/doc
32 }
34 # Create a disk cache.
35 post_install()
36 {
37 echo -n "Creating disk cache..."
38 mkdir $1/var/cache/polipo
39 chown tux.tux $1/var/cache/polipo
40 status
41 }
43 # Remove disk cache.
44 post_remove()
45 {
46 echo -n "Removing disk cache..."
47 rm -rf $1/var/cache/polipo
48 status
49 }