wok view xdelta/receipt @ rev 25095

Up libkeybinder (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 13:48:16 2022 +0000 (2022-06-18)
parents 922f061231c2
children 82a123e54615
line source
1 # SliTaz package receipt.
3 PACKAGE="xdelta"
4 VERSION="3.0.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Binary diff, VCDIFF/RFC 3284 delta compression."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE$VERSION.tar.gz"
10 WEB_SITE="http://xdelta.org/"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://github.com/jmacd/xdelta/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/xdelta3 $fs/usr/bin
32 }