# SliTaz package receipt. PACKAGE="urbackup-client" VERSION="2.5.24" CATEGORY="network" TAGS="backup" SHORT_DESC="An easy to setup Open Source client-server backup system." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://github.com/uroni/urbackup_backend" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://hndl.urbackup.org/Client/$VERSION/$TARBALL" DEPENDS="cryptopp wxWidgets" BUILD_DEPENDS="cryptopp wxWidgets-dev" # What is the latest version available today? current_version() { wget -O - https://www.urbackup.org/download.html 2>/dev/null | \ sed "/$PACKAGE-/!d;/href/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $install/usr/share/man cp -a $install/* $fs cp $src/docs/* $install/usr/share/man }