wok-6.x annotate zsync/receipt @ rev 15872
Up: lz4 (112) add lz4c, lib and dev packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 02 21:26:43 2014 +0100 (2014-02-02) |
parents | 8de1a32b44a8 |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@4916 | 1 # SliTaz package receipt. |
pascal@4916 | 2 |
pascal@4916 | 3 PACKAGE="zsync" |
slaxemulator@6736 | 4 VERSION="0.6.2" |
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@15361 | 8 LICENSE="Artistic" |
pascal@4916 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4916 | 10 WEB_SITE="http://zsync.moria.org.uk/" |
pascal@4916 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
jozee@4978 | 12 TAGS="sync" |
pascal@4916 | 13 |
pascal@4916 | 14 # Rules to configure and make the package. |
pascal@4916 | 15 compile_rules() |
pascal@4916 | 16 { |
pascal@4916 | 17 cd $src |
pascal@4916 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4916 | 19 --mandir=/usr/share/man \ |
pascal@4916 | 20 $CONFIGURE_ARGS && |
pascal@4916 | 21 make && |
pascal@15361 | 22 make DESTDIR=$DESTDIR install |
pascal@4916 | 23 } |
pascal@4916 | 24 |
pascal@4916 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4916 | 26 genpkg_rules() |
pascal@4916 | 27 { |
pascal@4916 | 28 mkdir -p $fs/usr |
pascal@15361 | 29 cp -a $install/usr/bin $fs/usr |
pascal@4916 | 30 } |
pascal@4916 | 31 |