# HG changeset patch # User Pascal Bellard # Date 1625758118 0 # Node ID 00d2e2c46fc55ae8d34b3d09aca95b46c53bceb5 # Parent 3e9a9990c985006caecfc700ea8e363ba10bad35 Up unison (2.51.4) diff -r 3e9a9990c985 -r 00d2e2c46fc5 unison/receipt --- a/unison/receipt Thu Jul 08 13:19:25 2021 +0000 +++ b/unison/receipt Thu Jul 08 15:28:38 2021 +0000 @@ -1,26 +1,34 @@ # SliTaz package receipt. PACKAGE="unison" -VERSION="2.48.3" +VERSION="2.51.4" CATEGORY="system-tools" SHORT_DESC="File-synchronization tool." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison" -WGET_URL="http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/$TARBALL" +WGET_URL="https://github.com/bcpierce00/unison/archive/refs/tags/v$VERSION.tar.gz" BUILD_DEPENDS="ocaml emacs" TAGS="sync" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + + # Rules to configure and make the package. compile_rules() { - CFLAGS="" make -j 4 UISTYLE=text unison + CFLAGS="" make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $src/unison $fs/usr/bin + cp -a $src/src/unison $fs/usr/bin + cp -a $src/src/unison-fsmonitor $fs/usr/bin } diff -r 3e9a9990c985 -r 00d2e2c46fc5 wyrd/receipt --- a/wyrd/receipt Thu Jul 08 13:19:25 2021 +0000 +++ b/wyrd/receipt Thu Jul 08 15:28:38 2021 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncursesw ocaml remind" BUILD_DEPENDS="ncursesw-dev ocaml remind" +#BUILD_DEPENDS="ncursesw-dev ocaml camlp4 remind" + +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} # Rules to configure and make the package. compile_rules()