wok annotate ziproxy/receipt @ rev 12747

add ziproxy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 09 16:25:48 2012 +0200 (2012-05-09)
parents
children e39005ccc3ae
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@12747 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@12747 9 WEB_SITE="http://ziproxy.sourceforge.net/"
pascal@12747 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@12747 11
pascal@12747 12 DEPENDS="giflib jasper jpeg libsasl zlib"
pascal@12747 13 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev libsasl-dev zlib-dev"
pascal@12747 14
pascal@12747 15 # Rules to configure and make the package.
pascal@12747 16 compile_rules()
pascal@12747 17 {
pascal@12747 18 cd $src
pascal@12747 19 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@12747 20 --localstatedir=/var \
pascal@12747 21 $CONFIGURE_ARGS &&
pascal@12747 22 make &&
pascal@12747 23 make DESTDIR=$DESTDIR install
pascal@12747 24 }
pascal@12747 25
pascal@12747 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12747 27 genpkg_rules()
pascal@12747 28 {
pascal@12747 29 mkdir -p $fs/usr
pascal@12747 30 cp -a $_pkg/usr/bin $fs/usr
pascal@12747 31 }