wok-next diff 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 diff
1.1 --- a/ziproxy/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/ziproxy/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,36 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ziproxy" 1.8 VERSION="3.2.1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="HTTP traffic compressor." 1.11 +SHORT_DESC="HTTP traffic compressor" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://ziproxy.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://ziproxy.sourceforge.net/" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 -CONFIG_FILES="/etc/ziproxy" 1.20 1.21 -DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng16" 1.22 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng16-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c 1.29 - ./configure --prefix=/usr --mandir=/usr/share/man \ 1.30 + 1.31 + ./configure \ 1.32 + --prefix=/usr \ 1.33 + --mandir=/usr/share/man \ 1.34 --localstatedir=/var \ 1.35 - $CONFIGURE_ARGS && 1.36 + $CONFIGURE_ARGS && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make DESTDIR=$install install 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 +genpkg_rules() { 1.46 mkdir -p $fs/usr 1.47 cp -a $install/usr/bin $fs/usr 1.48 cp -a $src/etc $fs 1.49 cp -a $src/var $fs 1.50 chown -R root.root $fs 1.51 -} 1.52 \ No newline at end of file 1.53 + DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng16" 1.54 + CONFIG_FILES="/etc/ziproxy" 1.55 +}