wok view unison/receipt @ rev 24097
Up hplip (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 13 17:18:37 2021 +0000 (2021-09-13) |
parents | 73968a7f1da9 |
children | 679126bfd419 |
line source
1 # SliTaz package receipt.
3 PACKAGE="unison"
4 VERSION="2.51.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="File-synchronization tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison"
11 WGET_URL="https://github.com/bcpierce00/unison/archive/refs/tags/v$VERSION.tar.gz"
12 BUILD_DEPENDS="ocaml emacs"
13 TAGS="sync"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 CFLAGS="" make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/src/unison $fs/usr/bin
33 cp -a $src/src/unison-fsmonitor $fs/usr/bin
34 }