wok-next annotate 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
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"
slaxemulator@6982 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15590 8 LICENSE="GPL2"
al@20534 9 WEB_SITE="https://banu.com/tinyproxy/"
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@20534 19 make DESTDIR=$DESTDIR 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 }