wok-next annotate ziproxy/receipt @ rev 20287
remove pure-ftpd-pam, screen-pam, screen-terminfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:26:01 2017 +0100 (2017-11-08) |
parents | af8a8f177c6c |
children | dd145c435e4b |
rev | line source |
---|---|
pascal@12747 | 1 # SliTaz package receipt. |
pascal@12747 | 2 |
pascal@12747 | 3 PACKAGE="ziproxy" |
pascal@12747 | 4 VERSION="3.2.1" |
pascal@12747 | 5 CATEGORY="network" |
pascal@12747 | 6 SHORT_DESC="HTTP traffic compressor." |
pascal@12747 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@12747 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12747 | 10 WEB_SITE="http://ziproxy.sourceforge.net/" |
pascal@12747 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12748 | 12 CONFIG_FILES="/etc/ziproxy" |
pascal@12747 | 13 |
pascal@12748 | 14 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng" |
pascal@12748 | 15 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng-dev" |
pascal@12747 | 16 |
pascal@12747 | 17 # Rules to configure and make the package. |
pascal@12747 | 18 compile_rules() |
pascal@12747 | 19 { |
pascal@20062 | 20 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c |
pascal@12747 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@12747 | 22 --localstatedir=/var \ |
pascal@12747 | 23 $CONFIGURE_ARGS && |
pascal@12747 | 24 make && |
pascal@12747 | 25 make DESTDIR=$DESTDIR install |
pascal@12747 | 26 } |
pascal@12747 | 27 |
pascal@12747 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12747 | 29 genpkg_rules() |
pascal@12747 | 30 { |
pascal@12747 | 31 mkdir -p $fs/usr |
pascal@15002 | 32 cp -a $install/usr/bin $fs/usr |
pascal@12748 | 33 cp -a $src/etc $fs |
pascal@12748 | 34 cp -a $src/var $fs |
pascal@12749 | 35 chown -R root.root $fs |
psychomaniak@18352 | 36 } |