wok-next view polipo/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 9e01bc6321ea |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.pps.jussieu.fr/~jch/software/polipo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.pps.univ-paris-diderot.fr/~jch/software/files/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="texinfo"
16 compile_rules() {
17 make all || return 1
19 mkdir -p \
20 $install/usr/bin/ \
21 $install/etc/polipo/ \
22 $install/usr/share/polipo/www/doc/
23 cp -a $src/polipo $install/usr/bin
24 cp -a $src/config.sample $install/etc/polipo/config
25 cp -a $src/forbidden.sample $install/etc/polipo/forbidden
26 cp -a $src/localindex.html $install/usr/share/polipo/www/index.html
27 cp -a $src/html/* $install/usr/share/polipo/www/doc
28 }
30 genpkg_rules() {
31 copy @std
32 }
34 # Create a disk cache.
35 post_install() {
36 mkdir "$1/var/cache/polipo"
37 chown tux.tux "$1/var/cache/polipo" # FIXME? tux?
38 }
40 # Remove disk cache.
41 post_remove() {
42 rm -rf "$1/var/cache/polipo"
43 }