wok-next view ziproxy/receipt @ rev 20784

update also: gpgme, libgpg-error and gpa
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 06:52:39 2018 +0000 (2018-06-09)
parents 0f20f040bbec
children d5aab818505e
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ziproxy.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/ziproxy"
14 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng16"
15 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng16-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $src/etc $fs
34 cp -a $src/var $fs
35 chown -R root.root $fs
36 }