wok annotate ziproxy/receipt @ rev 24471
updated dcfldd (1.3.4-1 -> 1.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:14:14 2022 +0100 (2022-02-17) |
parents | b753ca9ee288 |
children | 7dd01dedad38 |
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@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 23 sed '/released/!d;s|.*proxy ||;s| rel.*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
pascal@12747 | 26 # Rules to configure and make the package. |
pascal@12747 | 27 compile_rules() |
pascal@12747 | 28 { |
pascal@22365 | 29 sed -i 's|DGifOpen.*input|&,NULL|' src/image.c |
pascal@22365 | 30 sed -i 's|DGifCloseFile(GifFile|&,NULL|' src/image.c |
Hans-G?nter@22332 | 31 ./configure \ |
Hans-G?nter@22332 | 32 --prefix=/usr \ |
Hans-G?nter@22332 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@22332 | 34 --localstatedir=/var \ |
Hans-G?nter@22332 | 35 $CONFIGURE_ARGS && |
pascal@12747 | 36 make && |
pascal@12747 | 37 make DESTDIR=$DESTDIR install |
pascal@12747 | 38 } |
pascal@12747 | 39 |
pascal@12747 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12747 | 41 genpkg_rules() |
pascal@12747 | 42 { |
pascal@12747 | 43 mkdir -p $fs/usr |
Hans-G?nter@22332 | 44 |
Hans-G?nter@22332 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22332 | 46 cp -a $src/etc $fs |
Hans-G?nter@22332 | 47 cp -a $src/var $fs |
Hans-G?nter@22332 | 48 |
Hans-G?nter@22332 | 49 chown -R root.root $fs |
Hans-G?nter@22332 | 50 } |