wok-6.x view xdelta/receipt @ rev 24895

libgpod: libplist 2.x support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 11:37:28 2022 +0000 (2022-04-08)
parents eb8067417980
children 0f92b8cc8086
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="http://$PACKAGE.googlecode.com/files/$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 }