wok view ziproxy/receipt @ rev 23769

linux:CONFIG_INPUT_ATLAS_BTNS=m
author Richard Dunbar <mojo@slitaz.org>
date Thu May 14 20:21:23 2020 -0400 (2020-05-14)
parents 0a0a4e90ac5e
children 15650f5d595b
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|DGifOpen.*input|&,NULL|' src/image.c
24 sed -i 's|DGifCloseFile(GifFile|&,NULL|' src/image.c
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $src/etc $fs
41 cp -a $src/var $fs
43 chown -R root.root $fs
44 }