wok-6.x annotate ziproxy/receipt @ rev 18262
Add pflogsumm (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 05 12:08:19 2015 +0200 (2015-08-05) |
parents | 345e77edd9d0 |
children | 8417cbe6fdae |
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@12747 | 20 cd $src |
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 |
pascal@12747 | 36 } |