wok-next view tinyproxy/receipt @ rev 20661

Unification of the patch system
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 21:12:00 2018 +0300 (2018-05-10)
parents 757d032c55c7
children d5aab818505e
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="slaxemulator@gmail.com"
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=$DESTDIR 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 }