wok-next view polipo/receipt @ rev 20647
Up raptor (2.0.15), ruby (2.5.0), scons(3.0.0), screen (4.6.2), sharutils (4.15.2), slang (2.3.1), swig (3.0.12), sysstat (11.6.2), talloc (2.1.11), tcl (8.6.8), tidy-html5 (5.4.0), tk (8.6.8), udisks (1.0.5), unixODBC (2.3.5), unrar (5.5.8), upower (0.99.7), usbids (20180414), usbutils (009), vala (0.38.8), valgrind (3.13.0), wayland-protocols (1.13), yajl (2.1.0); add librep, rasqal, redland, rep-gtk.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 03 16:25:23 2018 +0300 (2018-05-03) |
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 }