wok-6.x annotate xdelta/receipt @ rev 25086
created recipe for sylpheed-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:42:13 2022 +0100 (2022-06-17) |
parents | 922f061231c2 |
children |
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@24982 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 |