wok-next view tinyproxy/receipt @ rev 21317
updated john (1.7.8 -> 1.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 17:31:47 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tinyproxy"
4 VERSION="1.8.3"
5 CATEGORY="network"
6 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://tinyproxy.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
14 compile_rules() {
15 ./configure \
16 --sysconfdir=/etc/tinyproxy \
17 $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$install install || return 1
21 # Provide sane defaults
22 sed -i '/^#Listen/a\Listen 127.0.0.1' $install/etc/tinyproxy/tinyproxy.conf
24 install -Dm755 $stuff/tinyproxy $install/etc/init.d/tinyproxy
25 }
27 genpkg_rules() {
28 copy @std
29 }