wok view urbackup-client/receipt @ rev 25513

memtest: update sleep()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 15:41:57 2023 +0000 (21 months ago)
parents 922f061231c2
children 272fb709866b
line source
1 # SliTaz package receipt.
3 PACKAGE="urbackup-client"
4 VERSION="2.4.10"
5 CATEGORY="network"
6 TAGS="backup"
7 SHORT_DESC="An easy to setup Open Source client-server backup system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/uroni/urbackup_backend"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://hndl.urbackup.org/Client/$VERSION/$TARBALL"
15 DEPENDS="cryptopp wxWidgets"
16 BUILD_DEPENDS="cryptopp wxWidgets-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://www.urbackup.org/download.html 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/href/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $install/usr/share/man
42 cp -a $install/* $fs
43 cp $src/docs/* $install/usr/share/man
44 }