wok-next view ziproxy/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents dd145c435e4b
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ziproxy"
4 VERSION="3.2.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 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng16-dev"
16 compile_rules() {
17 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $src/etc $fs
32 cp -a $src/var $fs
33 chown -R root.root $fs
34 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng16"
35 CONFIG_FILES="/etc/ziproxy"
36 }