wok view tinyproxy/receipt @ rev 21754
Up firefox-official (67.0.3), tinyproxy (1.10.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 19 17:26:14 2019 +0200 (2019-06-19) |
parents | 600aaedb561d |
children | 39c5255f1c90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinyproxy"
4 VERSION="1.10.0"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://tinyproxy.github.io/"
11 WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 patch -Np1 -i $stuff/no-docs-and-tests.diff
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc/tinyproxy \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 # Provide sane defaults
28 sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc/init.d
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/share/tinyproxy $fs/usr/share
38 cp -a $install/etc/tinyproxy $fs/etc
39 cp -a $stuff/tinyproxy $fs/etc/init.d
40 }