wok-current annotate zsync/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 191b99ca9dc2 |
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@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@24304 | 14 # What is the latest version available today? |
pascal@24304 | 15 current_version() |
pascal@24304 | 16 { |
pascal@24304 | 17 wget -O - $WEB_SITE/downloads 2>/dev/null | \ |
pascal@24304 | 18 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24304 | 19 } |
pascal@24304 | 20 |
pascal@4916 | 21 # Rules to configure and make the package. |
pascal@4916 | 22 compile_rules() |
pascal@4916 | 23 { |
pascal@4916 | 24 cd $src |
pascal@4916 | 25 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4916 | 26 --mandir=/usr/share/man \ |
pascal@4916 | 27 $CONFIGURE_ARGS && |
pascal@4916 | 28 make && |
pascal@15361 | 29 make DESTDIR=$DESTDIR install |
pascal@4916 | 30 } |
pascal@4916 | 31 |
pascal@4916 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4916 | 33 genpkg_rules() |
pascal@4916 | 34 { |
pascal@4916 | 35 mkdir -p $fs/usr |
pascal@15361 | 36 cp -a $install/usr/bin $fs/usr |
pascal@4916 | 37 } |
pascal@4916 | 38 |