wok view polipo/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 970c5ec9a60a
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="polipo"
4 VERSION="1.1.1"
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="https://github.com/jech/$PACKAGE/archive/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make all
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/etc/polipo
28 mkdir -p $fs/usr/share/polipo/www/doc
30 cp -a $src/polipo $fs/usr/bin
31 cp -a $src/config.sample $fs/etc/polipo/config
32 cp -a $src/forbidden.sample $fs/etc/polipo/forbidden
33 cp -a $src/localindex.html $fs/usr/share/polipo/www/index.html
34 cp -a $src/html/* $fs/usr/share/polipo/www/doc
35 }
37 # Create a disk cache.
38 post_install()
39 {
40 echo
41 echo -n "Creating disk cache..."
42 mkdir "$1/var/cache/polipo"
43 chown tux.tux "$1/var/cache/polipo"
44 status
45 }
47 # Remove disk cache.
48 post_remove()
49 {
50 echo -n "Removing disk cache..."
51 rm -rf "$1/var/cache/polipo"
52 status
53 }