wok-next view polipo/receipt @ rev 21277
geeqie: replaced lua by lua51
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:00:59 2019 +0100 (2019-12-07) |
parents | 2f03cb67a994 |
children |
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="https://www.irif.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 }