wok-6.x 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 | 3e9a9990c985 |
children | 9258333ebe34 |
files | unison/receipt wyrd/receipt |
line diff
1.1 --- a/unison/receipt Thu Jul 08 13:19:25 2021 +0000 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 }
2.1 --- a/wyrd/receipt Thu Jul 08 13:19:25 2021 +0000 2.2 +++ b/wyrd/receipt Thu Jul 08 15:28:38 2021 +0000 2.3 @@ -13,6 +13,13 @@ 2.4 2.5 DEPENDS="ncursesw ocaml remind" 2.6 BUILD_DEPENDS="ncursesw-dev ocaml remind" 2.7 +#BUILD_DEPENDS="ncursesw-dev ocaml camlp4 remind" 2.8 + 2.9 +current_version() 2.10 +{ 2.11 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 2.12 + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 2.13 +} 2.14 2.15 # Rules to configure and make the package. 2.16 compile_rules()