wok annotate zsync/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
parents | e6a3e16667f1 |
children | 8de1a32b44a8 |
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" |
jozee@4978 | 11 TAGS="sync" |
pascal@4916 | 12 |
pascal@4916 | 13 # Rules to configure and make the package. |
pascal@4916 | 14 compile_rules() |
pascal@4916 | 15 { |
pascal@4916 | 16 cd $src |
pascal@4916 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4916 | 18 --mandir=/usr/share/man \ |
pascal@4916 | 19 $CONFIGURE_ARGS && |
pascal@4916 | 20 make && |
pascal@4916 | 21 make DESTDIR=$PWD/_pkg install |
pascal@4916 | 22 } |
pascal@4916 | 23 |
pascal@4916 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4916 | 25 genpkg_rules() |
pascal@4916 | 26 { |
pascal@4916 | 27 mkdir -p $fs/usr |
pascal@4916 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@4916 | 29 } |
pascal@4916 | 30 |