wok-next view tinyproxy/receipt @ rev 20531
ssfs: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 12:13:10 2018 +0200 (2018-03-26) |
parents | d43bf7aae921 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://banu.com/tinyproxy/"
11 WGET_URL="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 patch -Np1 -i $stuff/no-docs-and-tests.diff
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --sysconfdir=/etc/tinyproxy \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 # Provide sane defaults
26 find $DESTDIR/etc -name tinyproxy.conf | xargs sed -i '/^#Listen/a\Listen 127.0.0.1'
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/etc/init.d
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/share/tinyproxy $fs/usr/share
36 cp -a $install/etc $fs
37 cp -a $stuff/tinyproxy $fs/etc/init.d
38 }