wok view unison/receipt @ rev 24876

magicpoint: ar syntax adaptation)
author Hans-G?nter Theisgen
date Thu Mar 31 11:00:43 2022 +0100 (2022-03-31)
parents 00d2e2c46fc5
children fffb53ee9c66
line source
1 # SliTaz package receipt.
3 PACKAGE="unison"
4 VERSION="2.51.5"
5 CATEGORY="system-tools"
6 TAGS="sync"
7 SHORT_DESC="File-synchronization tool."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.cis.upenn.edu/~bcpierce/unison"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/bcpierce00/$PACKAGE/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="ocaml emacs"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 CFLAGS="" make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
35 cp -a $src/src/unison $fs/usr/bin
36 cp -a $src/src/unison-fsmonitor $fs/usr/bin
37 }