wok-next annotate ziproxy/receipt @ rev 21724
busybox: update configs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 11:04:25 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@12747 | 2 |
pascal@12747 | 3 PACKAGE="ziproxy" |
pascal@12747 | 4 VERSION="3.2.1" |
pascal@12747 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="HTTP traffic compressor" |
pascal@12747 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://ziproxy.sourceforge.net/" |
al@21020 | 10 |
pascal@12747 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12747 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12747 | 13 |
al@21078 | 14 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng-dev" |
pascal@12747 | 15 |
al@21020 | 16 compile_rules() { |
pascal@20062 | 17 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c |
al@21020 | 18 |
al@21020 | 19 ./configure \ |
al@21020 | 20 --prefix=/usr \ |
al@21020 | 21 --mandir=/usr/share/man \ |
pascal@12747 | 22 --localstatedir=/var \ |
al@21020 | 23 $CONFIGURE_ARGS && |
pascal@12747 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
pascal@12747 | 26 } |
pascal@12747 | 27 |
al@21020 | 28 genpkg_rules() { |
pascal@12747 | 29 mkdir -p $fs/usr |
pascal@15002 | 30 cp -a $install/usr/bin $fs/usr |
pascal@12748 | 31 cp -a $src/etc $fs |
pascal@12748 | 32 cp -a $src/var $fs |
pascal@12749 | 33 chown -R root.root $fs |
al@21078 | 34 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng" |
al@21020 | 35 CONFIG_FILES="/etc/ziproxy" |
al@21020 | 36 } |