wok-current view ziproxy/receipt @ rev 24620
updated gputils (1.5.0.1 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 10:52:24 2022 +0100 (2022-03-07) |
parents | b753ca9ee288 |
children | 7dd01dedad38 |
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="http://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 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/released/!d;s|.*proxy ||;s| rel.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|DGifOpen.*input|&,NULL|' src/image.c
30 sed -i 's|DGifCloseFile(GifFile|&,NULL|' src/image.c
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --localstatedir=/var \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $src/etc $fs
47 cp -a $src/var $fs
49 chown -R root.root $fs
50 }