wok-next view tinyproxy/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | d6378d455338 |
children | 5ffe59e2de3a |
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://banu.com/tinyproxy/"
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 }