wok view tinyproxy/receipt @ rev 22162
updated xgalag++ (0.8.4 -> 0.9)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 07 17:39:20 2019 +0100 (2019-11-07) |
parents | 8b9f768b711e |
children | 5ea0ce1cecc0 |
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.gz"
10 WEB_SITE="https://tinyproxy.github.io/"
11 WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="wget automake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.*
19 ./autogen.sh
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 # Provide sane defaults
29 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/bin $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 }