wok annotate unison/receipt @ rev 25068

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