wok-next view ziproxy/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
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 libpng-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 libpng"
35 CONFIG_FILES="/etc/ziproxy"
36 }