wok diff unison/receipt @ rev 24077

Up unison (2.51.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 15:28:38 2021 +0000 (2021-07-08)
parents 73968a7f1da9
children 679126bfd419
line diff
     1.1 --- a/unison/receipt	Fri Nov 22 11:57:18 2019 +0100
     1.2 +++ b/unison/receipt	Thu Jul 08 15:28:38 2021 +0000
     1.3 @@ -1,26 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="unison"
     1.7 -VERSION="2.48.3"
     1.8 +VERSION="2.51.4"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="File-synchronization tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison"
    1.15 -WGET_URL="http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/$TARBALL"
    1.16 +WGET_URL="https://github.com/bcpierce00/unison/archive/refs/tags/v$VERSION.tar.gz"
    1.17  BUILD_DEPENDS="ocaml emacs"
    1.18  TAGS="sync"
    1.19  
    1.20 +current_version()
    1.21 +{
    1.22 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.23 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.24 +}
    1.25 +
    1.26 +
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	CFLAGS="" make -j 4 UISTYLE=text unison
    1.31 +	CFLAGS="" make
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr/bin
    1.38 -	cp -a $src/unison $fs/usr/bin
    1.39 +	cp -a $src/src/unison $fs/usr/bin
    1.40 +	cp -a $src/src/unison-fsmonitor $fs/usr/bin
    1.41  }