wok annotate xdelta/receipt @ rev 24738
updated libevent and libevent-dev (2.1.11 -> 2.1.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:48:35 2022 +0100 (2022-03-16) |
parents | eb8067417980 |
children | 0f92b8cc8086 |
rev | line source |
---|---|
pascal@2368 | 1 # SliTaz package receipt. |
pascal@2368 | 2 |
pascal@2368 | 3 PACKAGE="xdelta" |
slaxemulator@11138 | 4 VERSION="3.0.0" |
pascal@2368 | 5 CATEGORY="system-tools" |
pascal@2368 | 6 SHORT_DESC="Binary diff, VCDIFF/RFC 3284 delta compression." |
pascal@2368 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pascal@2368 | 9 TARBALL="$PACKAGE$VERSION.tar.gz" |
pascal@2368 | 10 WEB_SITE="http://xdelta.org/" |
pascal@2368 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@2368 | 12 |
pascal@24304 | 13 # What is the latest version available today? |
pascal@24304 | 14 current_version() |
pascal@24304 | 15 { |
pascal@24304 | 16 wget -O - https://github.com/jmacd/xdelta/tags 2>/dev/null | \ |
pascal@24304 | 17 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 18 } |
pascal@24304 | 19 |
pascal@2368 | 20 # Rules to configure and make the package. |
pascal@2368 | 21 compile_rules() |
pascal@2368 | 22 { |
pascal@2368 | 23 cd $src |
pascal@2368 | 24 make |
pascal@2368 | 25 } |
pascal@2368 | 26 |
pascal@2368 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2368 | 28 genpkg_rules() |
pascal@2368 | 29 { |
pascal@2368 | 30 mkdir -p $fs/usr/bin |
pascal@2368 | 31 cp -a $src/xdelta3 $fs/usr/bin |
pascal@2368 | 32 } |
pascal@2368 | 33 |