wok view unison/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents fffb53ee9c66
children
line source
1 # SliTaz package receipt.
3 PACKAGE="unison"
4 VERSION="2.52.1"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make CFLAGS="" UISTYLE=text
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
36 cp -a $src/src/unison $fs/usr/bin
37 cp -a $src/src/unison-fsmonitor $fs/usr/bin
38 }