wok view tinyproxy/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 8b9f768b711e
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="tinyproxy"
4 VERSION="1.10.0"
5 CATEGORY="network"
6 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://tinyproxy.github.io/"
11 WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="wget automake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.*
19 ./autogen.sh
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 # Provide sane defaults
29 sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc/init.d
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/tinyproxy $fs/usr/share
38 cp -a $install/etc/tinyproxy $fs/etc
39 cp -a $stuff/tinyproxy $fs/etc/init.d
40 }