wok-next view tinyproxy/receipt @ rev 20636

Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 15:12:17 2018 +0300 (2018-04-27)
parents 18143f296fc8
children d6378d455338
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 patch -Np1 -i $stuff/no-docs-and-tests.diff
17 ./configure \
18 --sysconfdir=/etc/tinyproxy \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install || return 1
23 # Provide sane defaults
24 sed -i '/^#Listen/a\Listen 127.0.0.1' $install/etc/tinyproxy/tinyproxy.conf
26 install -Dm755 $stuff/tinyproxy $install/etc/init.d/tinyproxy
27 }
29 genpkg_rules() {
30 copy @std
31 }