wok annotate ziproxy/receipt @ rev 24003
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 16 16:21:11 2021 +0100 (2021-01-16) |
parents | 0a0a4e90ac5e |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@12747 | 1 # SliTaz package receipt. |
pascal@12747 | 2 |
pascal@12747 | 3 PACKAGE="ziproxy" |
Hans-G?nter@22332 | 4 VERSION="3.3.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" |
Hans-G?nter@22332 | 9 WEB_SITE="http://ziproxy.sourceforge.net/" |
Hans-G?nter@22332 | 10 |
pascal@12747 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12747 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22332 | 13 |
Hans-G?nter@22332 | 14 DEPENDS="cyrus-sasl giflib jasper jpeg libpng libsasl zlib" |
Hans-G?nter@22332 | 15 BUILD_DEPENDS="cyrus-sasl-dev giflib-dev jasper-dev jpeg-dev |
Hans-G?nter@22332 | 16 libpng-dev zlib-dev" |
Hans-G?nter@22332 | 17 |
pascal@12748 | 18 CONFIG_FILES="/etc/ziproxy" |
pascal@12747 | 19 |
pascal@12747 | 20 # Rules to configure and make the package. |
pascal@12747 | 21 compile_rules() |
pascal@12747 | 22 { |
pascal@22365 | 23 sed -i 's|DGifOpen.*input|&,NULL|' src/image.c |
pascal@22365 | 24 sed -i 's|DGifCloseFile(GifFile|&,NULL|' src/image.c |
Hans-G?nter@22332 | 25 ./configure \ |
Hans-G?nter@22332 | 26 --prefix=/usr \ |
Hans-G?nter@22332 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@22332 | 28 --localstatedir=/var \ |
Hans-G?nter@22332 | 29 $CONFIGURE_ARGS && |
pascal@12747 | 30 make && |
pascal@12747 | 31 make DESTDIR=$DESTDIR install |
pascal@12747 | 32 } |
pascal@12747 | 33 |
pascal@12747 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12747 | 35 genpkg_rules() |
pascal@12747 | 36 { |
pascal@12747 | 37 mkdir -p $fs/usr |
Hans-G?nter@22332 | 38 |
Hans-G?nter@22332 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22332 | 40 cp -a $src/etc $fs |
Hans-G?nter@22332 | 41 cp -a $src/var $fs |
Hans-G?nter@22332 | 42 |
Hans-G?nter@22332 | 43 chown -R root.root $fs |
Hans-G?nter@22332 | 44 } |