wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@3998 | 1 # SliTaz package receipt. |
pascal@3998 | 2 |
pascal@3998 | 3 PACKAGE="unison" |
pascal@24077 | 4 VERSION="2.51.4" |
pascal@3998 | 5 CATEGORY="system-tools" |
pascal@3998 | 6 SHORT_DESC="File-synchronization tool." |
pascal@3998 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL3" |
pascal@3998 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3998 | 10 WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison" |
pascal@24077 | 11 WGET_URL="https://github.com/bcpierce00/unison/archive/refs/tags/v$VERSION.tar.gz" |
pascal@3998 | 12 BUILD_DEPENDS="ocaml emacs" |
jozee@4974 | 13 TAGS="sync" |
pascal@3998 | 14 |
pascal@24077 | 15 current_version() |
pascal@24077 | 16 { |
pascal@24077 | 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24077 | 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24077 | 19 } |
pascal@24077 | 20 |
pascal@24077 | 21 |
pascal@3998 | 22 # Rules to configure and make the package. |
pascal@3998 | 23 compile_rules() |
pascal@3998 | 24 { |
pascal@24077 | 25 CFLAGS="" make |
pascal@3998 | 26 } |
pascal@3998 | 27 |
pascal@3998 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3998 | 29 genpkg_rules() |
pascal@3998 | 30 { |
pascal@3998 | 31 mkdir -p $fs/usr/bin |
pascal@24077 | 32 cp -a $src/src/unison $fs/usr/bin |
pascal@24077 | 33 cp -a $src/src/unison-fsmonitor $fs/usr/bin |
pascal@3998 | 34 } |