wok-next view tinyproxy/receipt @ rev 21168
New package asciidoctor
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 25 12:22:25 2019 +0200 (2019-03-25) |
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 }