wok-6.x view urbackup-client/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 922f061231c2 |
children |
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 }