wok view ziproxy/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | 7dd01dedad38 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ziproxy"
4 VERSION="3.3.1"
5 CATEGORY="network"
6 SHORT_DESC="HTTP traffic compressor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://ziproxy.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="cyrus-sasl giflib jasper jpeg libpng libsasl zlib"
15 BUILD_DEPENDS="cyrus-sasl-dev giflib-dev jasper-dev jpeg-dev
16 libpng-dev zlib-dev"
18 CONFIG_FILES="/etc/ziproxy"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/released/!d;s|.*proxy ||;s| rel.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's|DGifOpen.*input|&,NULL|' src/image.c
31 sed -i 's|DGifCloseFile(GifFile|&,NULL|' src/image.c
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --localstatedir=/var \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $src/etc $fs
48 cp -a $src/var $fs
50 chown -R root.root $fs
51 }