wok view urbackup-client/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 970deba23db6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="urbackup-client"
4 VERSION="2.5.24"
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 }