wok-next view tinyproxy/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }