wok-next annotate 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 |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
slaxemulator@6982 | 2 |
slaxemulator@6982 | 3 PACKAGE="tinyproxy" |
devl547@11299 | 4 VERSION="1.8.3" |
slaxemulator@6982 | 5 CATEGORY="network" |
al@20534 | 6 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
al@21032 | 9 WEB_SITE="https://tinyproxy.github.io/" |
al@20534 | 10 |
slaxemulator@6982 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8580 | 12 WGET_URL="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6982 | 13 |
al@20534 | 14 compile_rules() { |
slaxemulator@6982 | 15 ./configure \ |
slaxemulator@6982 | 16 --sysconfdir=/etc/tinyproxy \ |
slaxemulator@6982 | 17 $CONFIGURE_ARGS && |
al@20534 | 18 make && |
al@21020 | 19 make DESTDIR=$install install || return 1 |
al@20534 | 20 |
slaxemulator@6982 | 21 # Provide sane defaults |
al@20534 | 22 sed -i '/^#Listen/a\Listen 127.0.0.1' $install/etc/tinyproxy/tinyproxy.conf |
slaxemulator@6982 | 23 |
al@20534 | 24 install -Dm755 $stuff/tinyproxy $install/etc/init.d/tinyproxy |
slaxemulator@6982 | 25 } |
slaxemulator@6982 | 26 |
al@20534 | 27 genpkg_rules() { |
al@20534 | 28 copy @std |
slaxemulator@6982 | 29 } |