wok view zsync/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
parents 191b99ca9dc2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="zsync"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 SHORT_DESC="Incremental file transfert from a web server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Artistic"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://zsync.moria.org.uk/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 TAGS="sync"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/downloads 2>/dev/null | \
18 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }