wok-6.x annotate ziproxy/receipt @ rev 14572
Add anacron
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 24 18:19:42 2013 +0200 (2013-05-24) |
parents | e39005ccc3ae |
children | 7896f0694ef6 |
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@12748 | 11 CONFIG_FILES="/etc/ziproxy" |
pascal@12747 | 12 |
pascal@12748 | 13 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng" |
pascal@12748 | 14 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng-dev" |
pascal@12747 | 15 |
pascal@12747 | 16 # Rules to configure and make the package. |
pascal@12747 | 17 compile_rules() |
pascal@12747 | 18 { |
pascal@12747 | 19 cd $src |
pascal@12747 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@12747 | 21 --localstatedir=/var \ |
pascal@12747 | 22 $CONFIGURE_ARGS && |
pascal@12747 | 23 make && |
pascal@12747 | 24 make DESTDIR=$DESTDIR install |
pascal@12747 | 25 } |
pascal@12747 | 26 |
pascal@12747 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12747 | 28 genpkg_rules() |
pascal@12747 | 29 { |
pascal@12747 | 30 mkdir -p $fs/usr |
pascal@12747 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@12748 | 32 cp -a $src/etc $fs |
pascal@12748 | 33 cp -a $src/var $fs |
pascal@12749 | 34 chown -R root.root $fs |
pascal@12747 | 35 } |