wok view vfsync/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents c0f288d8f56b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vfsync"
4 VERSION="2017-05-21"
5 CATEGORY="network"
6 SHORT_DESC="A secure file synchronization system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://vfsync.org/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libssl libcurl"
14 BUILD_DEPENDS="openssl-dev curl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $install/usr/share/doc
33 cp -a $src/vfagent $fs/usr/bin
34 cp -a $src/vfsync $fs/usr/bin
35 cp -a $src/readme.txt $install/usr/share/doc
36 }