wok-6.x annotate zsync/receipt @ rev 15007
connman: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 10:21:02 2013 +0000 (2013-08-11) |
parents | b303dfac3b48 |
children | 191b99ca9dc2 |
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@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 |