wok-6.x annotate zsync/receipt @ rev 4916

Add zsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 15 09:50:33 2010 +0100 (2010-02-15)
parents
children b303dfac3b48
rev   line source
pascal@4916 1 # SliTaz package receipt.
pascal@4916 2
pascal@4916 3 PACKAGE="zsync"
pascal@4916 4 VERSION="0.6.1"
pascal@4916 5 CATEGORY="network"
pascal@4916 6 SHORT_DESC="Incremental file transfert from a web server."
pascal@4916 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4916 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@4916 9 WEB_SITE="http://zsync.moria.org.uk/"
pascal@4916 10 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@4916 11
pascal@4916 12 # Rules to configure and make the package.
pascal@4916 13 compile_rules()
pascal@4916 14 {
pascal@4916 15 cd $src
pascal@4916 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4916 17 --mandir=/usr/share/man \
pascal@4916 18 $CONFIGURE_ARGS &&
pascal@4916 19 make &&
pascal@4916 20 make DESTDIR=$PWD/_pkg install
pascal@4916 21 }
pascal@4916 22
pascal@4916 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4916 24 genpkg_rules()
pascal@4916 25 {
pascal@4916 26 mkdir -p $fs/usr
pascal@4916 27 cp -a $_pkg/usr/bin $fs/usr
pascal@4916 28 }
pascal@4916 29