wok-stable annotate zsync/receipt @ rev 8208
imported patch toolchain/perl-core.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | b303dfac3b48 |
children |
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 |